From 8e386802ba0f35f1813fbb92f4517cd6adcb892e Mon Sep 17 00:00:00 2001 From: Elijah Duffy Date: Mon, 8 Dec 2025 02:31:19 -0800 Subject: [PATCH] improve production docker-compose.yml in README --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 74265df..fec321d 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Below is an example `docker-compose.yml` for production deployments that pulls i ```yaml services: - db: + mariadb: image: mariadb:latest restart: unless-stopped environment: @@ -61,11 +61,14 @@ services: php-fpm: image: gitea.auvem.com/auvem/wordpress-docker/php-fpm:7.4-stable restart: unless-stopped + depends_on: + - mariadb volumes: - ./wp_root:/var/www/html:rw nginx: image: gitea.auvem.com/auvem/wordpress-docker/nginx:latest + restart: unless-stopped ports: - "80:80" depends_on: