rocky-docker-lxc/, caddy-vm/, monitoring-vm/ (was missing entirely -
Grafana+Loki+Prometheus stack, refreshed and CA mount stripped same as
everything else), and automation/{ansible,automation-vm,iac}/ for the
three repos that live on the automation VM. Hawser is genuinely
deployed on all three of caddy-vm/monitoring-vm/automation-vm so it's
duplicated in each rather than picking one canonical home.
Old Ansible/ and "Infrastrucutre as Code/" content moved under
automation/ansible/old-playbooks and automation/iac/old-content as-is
for now - contents still need refreshing against the current repos and
a per-folder README, that's the next pass.
35 lines
975 B
YAML
35 lines
975 B
YAML
services:
|
|
kopia:
|
|
image: kopia/kopia:latest
|
|
container_name: kopia
|
|
restart: unless-stopped
|
|
user: "0:0"
|
|
hostname: "docker-host"
|
|
ports:
|
|
- "${HTTP_PORT}:51515"
|
|
command:
|
|
- server
|
|
- start
|
|
- --address=0.0.0.0:51515
|
|
- --tls-cert-file=/tls/kopia.crt
|
|
- --tls-key-file=/tls/kopia.key
|
|
- --server-username=${USERNAME}
|
|
- --server-password=${SECRET_PASSWORD}
|
|
- --disable-csrf-token-checks
|
|
environment:
|
|
TZ: ${TZ}
|
|
KOPIA_PASSWORD: ${SECRET_PASSWORD}
|
|
volumes:
|
|
- /path/to/backup-drive/kopia-repo:/repository # External drive for repository
|
|
- /path/to/backup-drive/kopia-cache:/cache
|
|
- /path/to/backup-drive/kopia-config:/app/config
|
|
- /path/to/backup-drive/kopia-tls:/tls:ro
|
|
- /path/to/docker-volumes:/apps:ro # Read-only access to docker volumes
|
|
- /path/to/docker-volumes:/restore
|
|
networks:
|
|
- kopia-net
|
|
|
|
networks:
|
|
kopia-net:
|
|
external: true
|