Reorder containers
This commit is contained in:
parent
36c4306906
commit
119aedff9b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user