forked from finn/tinyboard
33 lines
948 B
YAML
33 lines
948 B
YAML
version: '3.8'
|
|
services:
|
|
autossh:
|
|
image: spoke-autossh
|
|
container_name: spoke-autossh
|
|
restart: always
|
|
network_mode: host
|
|
environment:
|
|
- AUTOSSH_GATETIME=0
|
|
# @@@@@@@@@ BEWARE THE REVERSE TUNNEL PORT AND KEYS WHEN RUNNING THIS ON A NEW SPOKE @@@@@@@@@@
|
|
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
|
|
# - /home/armbian/share:/home/armbian/
|
|
syncthing:
|
|
image: syncthing/syncthing
|
|
container_name: spoke-syncthing
|
|
hostname: spoke-syncthing
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
volumes:
|
|
- /home/armbian/st:/var/syncthing
|