improve production docker-compose.yml in README
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user