fix: change mysql backup volume path to prevent permission denied errors
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m7s
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m7s
- Updated the host bind mount from the restricted '/root' directory to '/opt/fasto_backups' to ensure the Docker daemon has the necessary permissions to read and write database dumps.
This commit is contained in:
@@ -52,7 +52,7 @@ services:
|
|||||||
DB_DUMP_CRON: "55 2 * * *" # Roda todo dia exatamente às 02:55 da manhã
|
DB_DUMP_CRON: "55 2 * * *" # Roda todo dia exatamente às 02:55 da manhã
|
||||||
DB_CLEANUP_TIME: 4320 # Apaga os locais mais velhos que 3 dias
|
DB_CLEANUP_TIME: 4320 # Apaga os locais mais velhos que 3 dias
|
||||||
volumes:
|
volumes:
|
||||||
- /root/backups_db:/db
|
- /opt/fasto_backups:/db
|
||||||
networks:
|
networks:
|
||||||
- fasto-net
|
- fasto-net
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user