30 lines
600 B
YAML
30 lines
600 B
YAML
name: borgbackupserver
|
|
|
|
services:
|
|
bbs:
|
|
container_name: bbs
|
|
image: marcpope/borgbackupserver:latest
|
|
ports:
|
|
- "${WEB_PORT}:80" # Web UI
|
|
- "${SSH_PORT}:22" # SSH for borg agent connections
|
|
environment:
|
|
- APP_URL=${APP_URL}
|
|
- SSH_PORT=${SSH_PORT}
|
|
- WEB_PORT=${WEB_PORT}
|
|
volumes:
|
|
- bbs-data:/var/bbs
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
volumes:
|
|
bbs-data:
|
|
driver: local
|
|
driver_opts:
|
|
type: "none"
|
|
o: "bind"
|
|
device: "/nfs/backups"
|