compose/tinc/docker-compose.yml

26 lines
580 B
YAML
Raw Normal View History

2024-07-04 21:26:19 -03:00
version: '3'
# https://github.com/tiredofit/docker-tinc
services:
tinc-shoebottom-ca:
image: tiredofit/tinc:latest
container_name: tinc-shoebottom-ca
hostname: hostname
devices:
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
- 655:655
volumes:
- /docker/appdata/tinc/data:/etc/tinc
- /docker/appdata/tinc/logs:/var/log/tinc
environment:
- ENABLE_GIT=FALSE
- CONTAINER_NAME=tinc-shoebottom-ca
- CRON_PERIOD=5
- DEBUG=1
- NETWORK=shoebottom-ca
- COMPRESSION=9
network_mode: "host"