2020-09-18 03:48:01 +00:00
|
|
|
version: '3.5'
|
2020-04-20 02:35:05 +00:00
|
|
|
services:
|
|
|
|
daemon:
|
|
|
|
build: .
|
|
|
|
restart: always
|
2020-09-18 03:48:01 +00:00
|
|
|
networks:
|
|
|
|
- daemon0
|
2020-04-20 02:35:05 +00:00
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
- "2022:2022"
|
|
|
|
tty: true
|
|
|
|
environment:
|
|
|
|
- "DEBUG=false"
|
2020-09-18 03:48:01 +00:00
|
|
|
- "TZ=UTC" # change to the three letter timezone of your choosing
|
2020-04-20 02:35:05 +00:00
|
|
|
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-09-18 03:48:01 +00:00
|
|
|
- "/etc/pterodactyl/:/etc/pterodactyl/"
|
2020-04-20 02:36:34 +00:00
|
|
|
- "/var/lib/pterodactyl/:/var/lib/pterodactyl/"
|
2020-09-18 03:48:01 +00:00
|
|
|
- "/var/log/pterodactyl/:/var/log/pterodactyl/"
|
2020-04-20 02:35:05 +00:00
|
|
|
- "/tmp/pterodactyl/:/tmp/pterodactyl/"
|
2020-09-18 03:48:01 +00:00
|
|
|
## you may need /srv/daemon-data if you are upgrading from an old daemon
|
|
|
|
## - "/srv/daemon-data/:/srv/daemon-data/"
|
2020-04-20 02:35:05 +00:00
|
|
|
## Required for ssl if you user let's encrypt. uncomment to use.
|
|
|
|
## - "/etc/letsencrypt/:/etc/letsencrypt/"
|
2020-09-18 03:48:01 +00:00
|
|
|
|
2020-04-20 02:35:05 +00:00
|
|
|
networks:
|
2020-09-18 03:48:01 +00:00
|
|
|
daemon0:
|
|
|
|
name: daemon0
|
|
|
|
driver: bridge
|
2020-04-20 02:35:05 +00:00
|
|
|
ipam:
|
|
|
|
config:
|
2020-09-18 03:48:01 +00:00
|
|
|
- subnet: "172.21.0.0/16"
|
|
|
|
driver_opts:
|
|
|
|
com.docker.network.bridge.name: daemon0
|