fix postgres wrong mount
This commit is contained in:
parent
d700a9fc13
commit
15174fabcd
5 changed files with 29 additions and 20 deletions
|
|
@ -30,7 +30,7 @@ services:
|
|||
labels:
|
||||
- "traefik.enable=false"
|
||||
volumes:
|
||||
- mariadb-data:/var/lib/mysql
|
||||
- ./volumes/mariadb/data:/var/lib/mysql
|
||||
networks:
|
||||
- database
|
||||
restart: unless-stopped
|
||||
|
|
@ -42,7 +42,7 @@ services:
|
|||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql
|
||||
- ./volumes/postgres/data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- database
|
||||
restart: unless-stopped
|
||||
|
|
@ -116,10 +116,6 @@ services:
|
|||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
mariadb-data:
|
||||
name: mariadb-data
|
||||
postgres-data:
|
||||
name: postgres-data
|
||||
server-certificates:
|
||||
name: server-certificates
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue