foo
This commit is contained in:
parent
d090697fc7
commit
539dee6742
2 changed files with 6 additions and 7 deletions
|
@ -50,9 +50,7 @@ steps:
|
||||||
username: yksflip
|
username: yksflip
|
||||||
from_secret: docker_registry
|
from_secret: docker_registry
|
||||||
repo: yksflip/foodsoft
|
repo: yksflip/foodsoft
|
||||||
tags:
|
tags: ${DRONE_COMMIT}
|
||||||
- foodsoft/latest
|
|
||||||
- foodsoft/${DRONE_COMMIT_SHA}
|
|
||||||
- name: deployment
|
- name: deployment
|
||||||
image: decentral1se/stack-ssh-deploy:latest
|
image: decentral1se/stack-ssh-deploy:latest
|
||||||
settings:
|
settings:
|
||||||
|
@ -64,6 +62,7 @@ steps:
|
||||||
user: "root"
|
user: "root"
|
||||||
port: 22
|
port: 22
|
||||||
environment:
|
environment:
|
||||||
|
IMAGE: yksflip/foodsoft:${DRONE_COMMIT}
|
||||||
STACK_NAME: foodsoft
|
STACK_NAME: foodsoft
|
||||||
DOMAIN: "${DRONE_COMMIT_SHA}.foodsoft.dev.local-it.cloud"
|
DOMAIN: "${DRONE_COMMIT_SHA}.foodsoft.dev.local-it.cloud"
|
||||||
LETS_ENCRYPT_ENV: production
|
LETS_ENCRYPT_ENV: production
|
||||||
|
|
|
@ -56,7 +56,7 @@ x-secrets: &secrets
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: yksflip/foodsoft:latest
|
image: ${IMAGE}
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
- proxy
|
- proxy
|
||||||
|
@ -85,7 +85,7 @@ services:
|
||||||
- "coop-cloud.${STACK_NAME}.version=1.0.0+4.7.1"
|
- "coop-cloud.${STACK_NAME}.version=1.0.0+4.7.1"
|
||||||
|
|
||||||
cron:
|
cron:
|
||||||
image: yksflip/foodsoft:latest
|
image: ${IMAGE}
|
||||||
secrets: *secrets
|
secrets: *secrets
|
||||||
configs: *configs
|
configs: *configs
|
||||||
entrypoint: *entrypoint
|
entrypoint: *entrypoint
|
||||||
|
@ -96,7 +96,7 @@ services:
|
||||||
- internal
|
- internal
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
image: yksflip/foodsoft:latest
|
image: ${IMAGE}
|
||||||
secrets: *secrets
|
secrets: *secrets
|
||||||
configs: *configs
|
configs: *configs
|
||||||
entrypoint: *entrypoint
|
entrypoint: *entrypoint
|
||||||
|
@ -107,7 +107,7 @@ services:
|
||||||
- internal
|
- internal
|
||||||
|
|
||||||
smtp:
|
smtp:
|
||||||
image: yksflip/foodsoft:latest
|
image: ${IMAGE}
|
||||||
configs: *configs
|
configs: *configs
|
||||||
entrypoint: *entrypoint
|
entrypoint: *entrypoint
|
||||||
secrets: *secrets
|
secrets: *secrets
|
||||||
|
|
Loading…
Reference in a new issue