Add nfs-compose
This commit is contained in:
1 parent
33587cdc05
commit
8ae7d143d2
1 file changed
+14
@@ -0,0 +1,14 @@
|
|||||||
|
services:
|
||||||
|
borg-server:
|
||||||
|
image: tgbyte/borg-backup:latest
|
||||||
|
container_name: borg-server
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "2222:22"
|
||||||
|
environment:
|
||||||
|
- BORG_UID=50002
|
||||||
|
- BORG_GID=50002
|
||||||
|
volumes:
|
||||||
|
- /borg/authorized_keys:/home/borg/.ssh/authorized_keys:ro
|
||||||
|
- /borg/backups:/var/backups/borg
|
||||||
|
- /borg/ssh_host_keys:/var/lib/docker-borg
|
||||||
Reference in new issue
Block a user