Use bind mounts at /mnt/tank/persist for DB and server data
This commit is contained in:
parent
b7c21c11f5
commit
2bb54e32ac
|
@ -12,7 +12,7 @@ services:
|
|||
MYSQL_PASSWORD: "woodpecker"
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: 1
|
||||
volumes:
|
||||
- woodpecker_db_data:/var/lib/mysql
|
||||
- /mnt/tank/persist/nixc.us/woodpecker/production/db:/var/lib/mysql
|
||||
networks:
|
||||
- woodpecker
|
||||
deploy:
|
||||
|
@ -55,7 +55,7 @@ services:
|
|||
- traefik
|
||||
- woodpecker
|
||||
volumes:
|
||||
- woodpecker_server_data:/var/lib/woodpecker/
|
||||
- /mnt/tank/persist/nixc.us/woodpecker/production/data:/var/lib/woodpecker/
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
deploy:
|
||||
|
@ -218,5 +218,3 @@ services:
|
|||
|
||||
volumes:
|
||||
agent-secret: {}
|
||||
woodpecker_db_data: {}
|
||||
woodpecker_server_data: {}
|
||||
|
|
Loading…
Reference in New Issue