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

Loading…
Cancel
Save