2020-04-20 02:35:05 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
daemon:
|
|
|
|
build: .
|
|
|
|
restart: always
|
|
|
|
hostname: daemon
|
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
- "2022:2022"
|
|
|
|
tty: true
|
|
|
|
environment:
|
|
|
|
- "DEBUG=false"
|
|
|
|
volumes:
|
|
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
2020-04-26 02:38:18 +00:00
|
|
|
- "/var/lib/docker/containers/:/var/lib/docker/containers/"
|
2020-04-20 02:36:34 +00:00
|
|
|
- "/var/lib/pterodactyl/:/var/lib/pterodactyl/"
|
2020-04-20 02:35:05 +00:00
|
|
|
- "/srv/daemon-data/:/srv/daemon-data/"
|
|
|
|
- "/tmp/pterodactyl/:/tmp/pterodactyl/"
|
|
|
|
- "/etc/timezone:/etc/timezone:ro"
|
|
|
|
## Required for ssl if you user let's encrypt. uncomment to use.
|
|
|
|
## - "/etc/letsencrypt/:/etc/letsencrypt/"
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipam:
|
|
|
|
config:
|
|
|
|
- subnet: 172.21.0.0/16
|