pipeline updates
This commit is contained in:
parent
068dd20e9e
commit
21007a1269
@ -16,9 +16,12 @@ resources:
|
||||
icon: docker
|
||||
source:
|
||||
repository: registry.mdev.local/school_app_api
|
||||
insecure: true
|
||||
tag: latest
|
||||
- name: deploy
|
||||
type: docker-compose
|
||||
source:
|
||||
port: 2375
|
||||
host: mdev.local
|
||||
|
||||
jobs:
|
||||
@ -49,7 +52,6 @@ jobs:
|
||||
- put: docker-image
|
||||
params:
|
||||
image: image/image.tar
|
||||
version: latest
|
||||
|
||||
- name: deploy
|
||||
plan:
|
||||
@ -58,7 +60,11 @@ jobs:
|
||||
passed: [test, build]
|
||||
- put: deploy
|
||||
params:
|
||||
DOCKER_HOST: "tcp://mdev.local"
|
||||
command: restart
|
||||
# compose_file: repo/docker-compose.yml
|
||||
path: repo
|
||||
pull: true
|
||||
path: "/home/mitchell/prod/school_app_api"
|
||||
# path: home/mitchell/prod/school_app_api
|
||||
# path: code
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ services:
|
||||
- ./pgdata:/db:rw
|
||||
|
||||
school-app-api:
|
||||
image: school_app_api
|
||||
image: registry.mdev.local/school_app_api
|
||||
depends_on: [school-app-db]
|
||||
ports: ["4455:4455"]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user