added gitignore and added .env as an ignored type

This commit is contained in:
2025-10-22 10:11:21 -07:00
parent bf4e850655
commit 6e157cf8ee
2 changed files with 6 additions and 4 deletions

1
.gitignore vendored
View File

@@ -0,0 +1 @@
.env

View File

@@ -1,22 +1,23 @@
services:
backupbot:
image: gitea.calahilstudios.com/calahil/backupbot:latest
build: .
container_name: backupbot
privileged: true
environment:
- PUID=0
- PGID=0
- TZ=America/Los_Angeles
- TZ=Etc/UTC
- SETTINGS_ENCRYPTION_KEY=${KEY}
- CLI_ARGS= #optional
- DUPLICATI__WEBSERVICE_PASSWORD=${PASSWORD}
volumes:
# Config dir for duplicati
- /srv/appdata/duplicati/config:/config
# Backup folder to store dumps/backups/snapshots
- /srv/backups:/backups
# Backup folder to store dumps/backups
- /srv/backups:/backups:rshared
# Docker socket to list containers
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 8200:8200
- 8201:8080