This commit is contained in:
Franz Heinzmann (Frando) 2022-09-29 14:36:29 +02:00
parent 1d0a78ac08
commit bab02f1d8a
1 changed files with 11 additions and 8 deletions

View File

@ -18,6 +18,7 @@ services:
target: /listmonk/config.toml
- source: app_entrypoint
target: /docker_entrypoint.sh
mode: 0555
entrypoint: /docker-entrypoint.sh
deploy:
update_config:
@ -57,6 +58,16 @@ secrets:
name: ${STACK_NAME}_admin_password_${SECRET_ADMIN_PASSWORD_VERSION}
external: true
configs:
config_toml:
name: ${STACK_NAME}_config_toml_${CONFIG_TOML_VERSION}
file: config.toml.tmpl
# template_driver: golang
app_entrypoint:
name: ${STACK_NAME}_app_entrypoint_${APP_ENTRYPOINT_VERSION}
file: docker-entrypoint.sh
# template_driver: golang
networks:
internal:
proxy:
@ -65,11 +76,3 @@ networks:
volumes:
postgres_data:
configs:
config_toml:
name: ${STACK_NAME}_config_toml_${CONFIG_TOML_VERSION}
file: config.toml.tmpl
template_driver: golang
app_entrypoint:
name: ${STACK_NAME}_app_entrypoint_${APP_ENTRYPOINT_VERSION}
file: docker-entrypoint.sh