refactor: move backup, restore, s3fs tasks in pkg folder

This commit is contained in:
2024-01-19 06:32:30 +01:00
parent 59e4504872
commit 53e8bfed35
15 changed files with 456 additions and 299 deletions

View File

@@ -0,0 +1,16 @@
version: "3"
services:
pg-bkup:
image: jkaninda/pg-bkup
container_name: pg-bkup
command:
- /bin/sh
- -c
- bkup --operation backup --dbname database_name
volumes:
- ./backup:/backup
environment:
- DB_PORT=5432
- DB_HOST=postgress
- DB_USERNAME=userName
- DB_PASSWORD=${DB_PASSWORD}