Files
tinyboard/spoke/compose.yaml

36 lines
916 B
YAML

services:
autossh:
image: spoke-autossh
container_name: spoke-autossh
restart: always
network_mode: host
environment:
- AUTOSSH_GATETIME=0
command: >
autossh -M 0 -NT
-o "ServerAliveInterval=60"
-o "ServerAliveCountMax=3"
-R 11111:localhost:22
-i /home/armbian/.ssh/oilykey2026
armbian@oily.dad
volumes:
- /home/armbian/.ssh/oilykey2026:/home/armbian/.ssh/oilykey2026: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
environment:
- PUID=1000
- PGID=1000
ports:
- "127.0.0.1:8384:8384"
- "22000:22000"
volumes:
- syncthing-config:/var/syncthing/config
- /home/armbian/st/data:/var/syncthing/data
volumes:
syncthing-config: