Apply @3wordchant patch
continuous-integration/drone/push Build is passing Details

Didn't bring over "depends_on" because I think it is ignored?
This commit is contained in:
Luke Murphy 2020-10-02 09:37:36 +02:00
parent 50a11700b4
commit c5beea3114
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 9 additions and 3 deletions

View File

@ -1,8 +1,8 @@
---
version: "3.8"
services:
wordpress:
app:
entrypoint: /docker-entrypoint.sh
environment:
- SMTP_HOST=${SMTP_HOST}

View File

@ -10,13 +10,19 @@ services:
- backend
- proxy
environment:
- WORDPRESS_DB_HOST=mariadb
- WORDPRESS_DB_HOST=db
- WORDPRESS_DB_USER=wordpress
- WORDPRESS_DB_PASSWORD_FILE=/run/secrets/db_password
- WORDPRESS_DB_NAME=wordpress
- WORDPRESS_CONFIG_EXTRA=${WORDPRESS_CONFIG_EXTRA}
secrets:
- db_password
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
interval: 30s
timeout: 10s
retries: 10
start_period: 1m
deploy:
update_config:
failure_action: rollback