This commit is contained in:
Franz Heinzmann (Frando) 2022-09-29 14:36:29 +02:00
parent 1d0a78ac08
commit bab02f1d8a

View File

@ -18,6 +18,7 @@ services:
target: /listmonk/config.toml target: /listmonk/config.toml
- source: app_entrypoint - source: app_entrypoint
target: /docker_entrypoint.sh target: /docker_entrypoint.sh
mode: 0555
entrypoint: /docker-entrypoint.sh entrypoint: /docker-entrypoint.sh
deploy: deploy:
update_config: update_config:
@ -57,6 +58,16 @@ secrets:
name: ${STACK_NAME}_admin_password_${SECRET_ADMIN_PASSWORD_VERSION} name: ${STACK_NAME}_admin_password_${SECRET_ADMIN_PASSWORD_VERSION}
external: true 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: networks:
internal: internal:
proxy: proxy:
@ -65,11 +76,3 @@ networks:
volumes: volumes:
postgres_data: 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