forked from B3Partners/docker-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
35 lines (33 loc) · 887 Bytes
/
compose.yaml
File metadata and controls
35 lines (33 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Add this to your Docker Compose configuration, or merge it by referencing this file in the COMPOSE_FILE environment
# variable in an env-file.
volumes:
backup:
services:
backup:
image: ghcr.io/b3partners/backup:latest
container_name: ${COMPOSE_PROJECT_NAME}-backup
restart: unless-stopped
volumes:
- ${BACKUP_VOLUME_SOURCE:-backup}:/backup
environment:
- "SCHEDULE"
- "LOGGING"
- "BACKUP_PG"
- "BACKUP_DIR"
- "CLEAR_UPLOADED"
- "PGHOST=${PGHOST:-db}"
- "PGPORT"
- "PGDATABASE"
- "PGUSER=${PGUSER:-postgres}"
- "PGPASSWORD=${PGPASSWORD:-postgres}"
- "STORAGE_BOX"
- "SFTP_HOST"
- "SFTP_USER"
- "SFTP_PATH=${SFTP_PATH:-.}"
- "SSHPASS"
- "PG_COMPRESS"
- "TAR_COMPRESS"
- "ZSTD_NBTHREADS"
- "XZ_DEFAULTS"
- "ENCRYPT"
- "PUBLIC_KEY"