don't manage volume path with podman
This commit is contained in:
parent
30257bead1
commit
c242fd1d02
|
@ -1,15 +1,10 @@
|
|||
version: '3.3'
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
external:
|
||||
name: db_data
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mysql:5.7
|
||||
volumes:
|
||||
- db_data:/var/lib/mysql
|
||||
- ../db_data/_data/:/var/lib/mysql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
|
||||
|
@ -23,8 +18,8 @@ services:
|
|||
image: wordpress:latest
|
||||
links:
|
||||
- db
|
||||
ports:
|
||||
- 80:80
|
||||
ports:
|
||||
- 80:80
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
WORDPRESS_DB_HOST: db:3306
|
||||
|
|
Loading…
Reference in a new issue