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' version: '3.3'
volumes:
db_data:
external:
name: db_data
services: services:
db: db:
image: mysql:5.7 image: mysql:5.7
volumes: volumes:
- db_data:/var/lib/mysql - ../db_data/_data/:/var/lib/mysql
restart: always restart: always
environment: environment:
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
@ -23,8 +18,8 @@ services:
image: wordpress:latest image: wordpress:latest
links: links:
- db - db
ports: ports:
- 80:80 - 80:80
restart: unless-stopped restart: unless-stopped
environment: environment:
WORDPRESS_DB_HOST: db:3306 WORDPRESS_DB_HOST: db:3306