1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/spiped/docker-compose.yml

24 lines
435 B
YAML
Raw Normal View History

2016-11-24 18:04:43 +02:00
keygen:
image: spiped:alpine
command: spiped-generate-key.sh
volumes:
- ./key:/spiped/key/spiped-keyfile
server:
image: spiped:alpine
command: -d -s 0.0.0.0:5353 -t 8.8.8.8:53
ports:
- "5353:5353"
volumes:
- ./key:/spiped/key:ro
restart: always
client:
image: spiped:alpine
command: -e -s 0.0.0.0:5533 -t 1.2.3.4:5353
ports:
- "5533:5533"
volumes:
- ./key:/spiped/key:ro
restart: always