generated from coop-cloud/example
Add volume mount for data persistence
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
928dc24cb3
commit
bcc890338b
23
compose.yml
23
compose.yml
|
@ -6,7 +6,10 @@ services:
|
|||
- proxy
|
||||
environment:
|
||||
- APPLICATION_URL=$DOMAIN
|
||||
- ADMIN_PASSWORD_FILE=/run/secrets/admin_password
|
||||
# NOTE(3wc): See note below
|
||||
# - ADMIN_PASSWORD_FILE=/run/secrets/admin_password
|
||||
volumes:
|
||||
- "filestash_state:/app/data/state/"
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
@ -21,13 +24,14 @@ services:
|
|||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
- coop-cloud.${STACK_NAME}.app.version=e02267d-07d7189c
|
||||
secrets:
|
||||
- admin_password
|
||||
configs:
|
||||
- source: entrypoint_conf
|
||||
target: /docker-entrypoint.sh
|
||||
mode: 0555
|
||||
entrypoint: ['/docker-entrypoint.sh']
|
||||
# NOTE(3wc): Attempt to use secrets, need to bcrypt, more later
|
||||
# secrets:
|
||||
# - admin_password
|
||||
# configs:
|
||||
# - source: entrypoint_conf
|
||||
# target: /docker-entrypoint.sh
|
||||
# mode: 0555
|
||||
# entrypoint: ['/docker-entrypoint.sh']
|
||||
|
||||
secrets:
|
||||
admin_password:
|
||||
|
@ -38,6 +42,9 @@ networks:
|
|||
proxy:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
filestash_state:
|
||||
|
||||
configs:
|
||||
entrypoint_conf:
|
||||
name: ${STACK_NAME}_entrypoint_conf_${ENTRYPOINT_CONF_VERSION}
|
||||
|
|
Loading…
Reference in New Issue