diff --git a/compose.yml b/compose.yml index e186e40..00b2481 100644 --- a/compose.yml +++ b/compose.yml @@ -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