Skip to content

Commit a63816c

Browse files
committed
fix: simplify pterodactyl wings compose
1 parent 173e55e commit a63816c

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

pterodactyl/wings/.env.template

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
1-
# Docker compose container prefix
2-
COMPOSE_PROJECT_NAME=pterodactyl
3-
4-
# Data directory
5-
DATA_DIR=../data
6-
71
# Full path to wings volumes data
82
# NOTE: This path has to match the "Daemon Server File Directory" path you apply when creating a node in the panel!
93
# The default setting is "/var/lib/pterodactyl/", however this can be changed to something like:
104
# "/srv/docker/docker-pterodactyl/data/wings/lib/volumes" in order to store everything in one place, just make sure the paths in panel and here match!
11-
SERVERS_DATA_FULL_PATH=/var/lib/pterodactyl/
12-
13-
# Wings domain
14-
WINGS_DOMAIN=game.codinglab.gg
5+
SERVERS_DATA_FULL_PATH=/var/lib/pterodactyl/

pterodactyl/wings/docker-compose.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@ services:
2121
- '/var/lib/docker/containers/:/var/lib/docker/containers/'
2222
- '/tmp/pterodactyl/:/tmp/pterodactyl/'
2323
- '/etc/ssl/certs:/etc/ssl/certs:ro'
24-
- '${DATA_DIR}/wings/etc/:/etc/pterodactyl/'
25-
- '${DATA_DIR}/wings/logs:/var/log/pterodactyl/'
24+
- '../files/wings/etc/:/etc/pterodactyl/'
25+
- '../files/wings/logs:/var/log/pterodactyl/'
2626
- '${SERVERS_DATA_FULL_PATH}:${SERVERS_DATA_FULL_PATH}'
27-
# required if ssl by letsencrypt is enabled
28-
- '/etc/letsencrypt:/etc/letsencrypt'
2927

3028
networks:
3129
pterodactyl:

0 commit comments

Comments
 (0)