forked from finn/tinyboard
compose.yaml, setup-spoke.sh: replace named Docker volume with host directory for syncthing config, reset compose.yaml to generic placeholders, remove volume permission fix step
This commit is contained in:
@@ -11,25 +11,22 @@ services:
|
||||
-o "ServerAliveInterval=60"
|
||||
-o "ServerAliveCountMax=3"
|
||||
-R 11111:localhost:22
|
||||
-i /home/armbian/.ssh/oilykey2026
|
||||
armbian@oily.dad
|
||||
-i /home/armbian/.ssh/hubkey
|
||||
armbian@hub.example.com
|
||||
volumes:
|
||||
- /home/armbian/.ssh/oilykey2026:/home/armbian/.ssh/oilykey2026:ro
|
||||
- /home/armbian/.ssh/hubkey:/home/armbian/.ssh/hubkey:ro
|
||||
- /home/armbian/.ssh/known_hosts:/home/armbian/.ssh/known_hosts:ro
|
||||
syncthing:
|
||||
image: syncthing/syncthing
|
||||
container_name: spoke-syncthing
|
||||
hostname: spoke-syncthing
|
||||
restart: unless-stopped
|
||||
user: "1000:1000"
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- HOME=/var/syncthing
|
||||
ports:
|
||||
- "127.0.0.1:8384:8384"
|
||||
- "22000:22000"
|
||||
volumes:
|
||||
- syncthing-config:/var/syncthing/config
|
||||
- /home/armbian/st/config:/var/syncthing/config
|
||||
- /home/armbian/st/data:/var/syncthing/data
|
||||
|
||||
volumes:
|
||||
syncthing-config:
|
||||
|
||||
Reference in New Issue
Block a user