Add tinc dockerfile
This commit is contained in:
parent
d9e709feda
commit
38c8a96de1
10
Dockerfile.tinc
Normal file
10
Dockerfile.tinc
Normal 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" ]
|
@ -2,7 +2,7 @@ version: "3.7"
|
||||
services:
|
||||
tinc:
|
||||
network_mode: host
|
||||
image: vimagick/tinc
|
||||
image: tinc
|
||||
ports:
|
||||
- "655:655/tcp"
|
||||
- "655:655/udp"
|
||||
|
Loading…
x
Reference in New Issue
Block a user