Add tinc dockerfile

This commit is contained in:
sump pump 2020-04-27 19:04:32 +00:00
parent d9e709feda
commit 38c8a96de1
2 changed files with 11 additions and 1 deletions

10
Dockerfile.tinc Normal file
View File

@ -0,0 +1,10 @@
FROM alpine:latest
MAINTAINER Team Lixo <lixonet@team.lixo>
RUN apk add tinc
EXPOSE 9993/tcp 655/udp
VOLUME /etc/tinc
ENTRYPOINT [ "/usr/sbin/tinc" ]
CMD [ "start", "-D", "-U", "nobody" ]

View File

@ -2,7 +2,7 @@ version: "3.7"
services:
tinc:
network_mode: host
image: vimagick/tinc
image: tinc
ports:
- "655:655/tcp"
- "655:655/udp"