diff --git a/compose.yml b/compose.yml index 7586e18..7e67702 100644 --- a/compose.yml +++ b/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}