-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (45 loc) · 1.39 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Set MTU via "$HOST_MTU"! Failure to do so could result in errors.
version: '3.8'
services:
wings:
image: ghcr.io/pterodactyl/wings:v1.11.4
container_name: wings
restart: always
command: wings # --ignore-certificate-errors
networks:
- wings0
ports:
- "8080:8080"
- "2022:2022"
tty: true
environment:
TZ: "America/New_York"
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/"
- "/var/lib/pterodactyl/:/var/lib/pterodactyl/"
- "/var/log/pterodactyl/:/var/log/pterodactyl/"
- "/tmp/pterodactyl/:/tmp/pterodactyl/"
# Ubuntu
# - "/etc/ssl/certs:/etc/ssl/certs:ro"
# RHEL/Fedora
- "/etc/ssl/certs/ca-certificates.crt:/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt:ro"
- "/backups/pterodactyl/:/backups/pterodactyl"
- "/etc/letsencrypt/:/etc/letsencrypt/"
- "/usr/share/zoneinfo/America/New_York:/etc/localtime:ro"
labels:
- "com.centurylinklabs.watchtower.enable=true"
networks:
wings0:
name: wings0
driver: bridge
ipam:
config:
- subnet: "172.21.0.0/16"
driver_opts:
com.docker.network.bridge.name: wings0
com.docker.network.driver.mtu: $HOST_MTU