don't manage volume path with podman

This commit is contained in:
0x90.space 2023-12-07 21:55:15 +00:00
parent 30257bead1
commit c242fd1d02

View file

@ -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