-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
22 lines (22 loc) · 1.17 KB
/
Copy pathdocker-compose.yml
File metadata and controls
22 lines (22 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
services:
dbackup:
image: skyfay/dbackup:latest
container_name: dbackup
restart: always
ports:
- "3000:3000"
environment:
# for all environmentvariables, check out: https://docs.dbackup.app/developer-guide/reference/environment
- ENCRYPTION_KEY= # openssl rand -hex 32
- BETTER_AUTH_URL=https://localhost:3000
- BETTER_AUTH_SECRET= # openssl rand -base64 32
# - DISABLE_HTTPS=true # Optional: Set to "true" to use plain HTTP (default: HTTPS)
# - TZ=Europe/Zurich # Optional: Server timezone
# - PUID=1001 # Optional: User ID for file permissions
# - PGID=1001 # Optional: Group ID for file permissions
# - DISABLE_EMAIL_LOGIN=true # Optional: Switch off password sign-in, leaving SSO and passkeys
# - OIDC_AUTO_REDIRECT=authentik-742 # Optional: SSO provider ID to redirect to instead of the login page
volumes:
- ./data:/data # All persistent data (db, storage, certs)
- ./backups:/backups # Optional: used for local backups
# - ./tmp:/tmp # Recommended: staging space for running backups, keeps them off the Docker disk