wings/docker-compose.example.yml

39 lines
1.0 KiB
YAML
Raw Normal View History

2020-11-15 03:22:29 +00:00
version: '3.8'
services:
2020-11-15 03:22:29 +00:00
wings:
2020-11-15 04:42:12 +00:00
image: ghcr.io/pterodactyl/wings:latest
restart: always
networks:
2020-11-15 03:22:29 +00:00
- wings0
ports:
- "8080:8080"
- "2022:2022"
tty: true
environment:
2020-11-15 04:50:09 +00:00
TZ: "UTC"
WINGS_UID: 988
WINGS_GID: 988
WINGS_USERNAME: pterodactyl
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "/var/lib/docker/containers/:/var/lib/docker/containers/"
- "/etc/pterodactyl/:/etc/pterodactyl/"
2020-04-20 02:36:34 +00:00
- "/var/lib/pterodactyl/:/var/lib/pterodactyl/"
- "/var/log/pterodactyl/:/var/log/pterodactyl/"
- "/tmp/pterodactyl/:/tmp/pterodactyl/"
2020-11-15 03:22:29 +00:00
# you may need /srv/daemon-data if you are upgrading from an old daemon
#- "/srv/daemon-data/:/srv/daemon-data/"
# Required for ssl if you use let's encrypt. uncomment to use.
2020-11-15 03:22:29 +00:00
#- "/etc/letsencrypt/:/etc/letsencrypt/"
networks:
2020-11-15 04:42:12 +00:00
wings0:
2020-11-15 03:22:29 +00:00
name: wings0
driver: bridge
ipam:
config:
- subnet: "172.21.0.0/16"
driver_opts:
com.docker.network.bridge.name: wings0