Reorder containers

podman-compose-ssl
Mike Holloway 4 months ago
parent 36c4306906
commit 119aedff9b
  1. 14
      docker-compose.yml

@ -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…
Cancel
Save