Reorder containers

This commit is contained in:
Mike Holloway 2024-08-19 16:00:53 -04:00
parent 36c4306906
commit 119aedff9b

View File

@ -1,13 +1,6 @@
version: '3.6'
services:
db:
image: mysql:5.7
volumes:
- ~/wordpress/database:/var/lib/mysql
restart: always
env_file: ".env"
wordpress:
image: wordpress:latest
volumes:
@ -19,6 +12,13 @@ services:
restart: always
env_file: ".env"
db:
image: mysql:5.7
volumes:
- ~/wordpress/database:/var/lib/mysql
restart: always
env_file: ".env"
wordpress-cli:
depends_on:
- db