improve production docker-compose.yml in README

This commit is contained in:
Elijah Duffy
2025-12-08 02:31:19 -08:00
parent 1f96a32ea8
commit 8e386802ba

View File

@@ -47,7 +47,7 @@ Below is an example `docker-compose.yml` for production deployments that pulls i
```yaml ```yaml
services: services:
db: mariadb:
image: mariadb:latest image: mariadb:latest
restart: unless-stopped restart: unless-stopped
environment: environment:
@@ -61,11 +61,14 @@ services:
php-fpm: php-fpm:
image: gitea.auvem.com/auvem/wordpress-docker/php-fpm:7.4-stable image: gitea.auvem.com/auvem/wordpress-docker/php-fpm:7.4-stable
restart: unless-stopped restart: unless-stopped
depends_on:
- mariadb
volumes: volumes:
- ./wp_root:/var/www/html:rw - ./wp_root:/var/www/html:rw
nginx: nginx:
image: gitea.auvem.com/auvem/wordpress-docker/nginx:latest image: gitea.auvem.com/auvem/wordpress-docker/nginx:latest
restart: unless-stopped
ports: ports:
- "80:80" - "80:80"
depends_on: depends_on: