-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f764e4d
commit 65c1701
Showing
4 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Docker compose container prefix | ||
COMPOSE_PROJECT_NAME=pterodactyl | ||
|
||
# Data directory | ||
DATA_DIR=../data | ||
|
||
# Full path to wings volumes data | ||
# NOTE: This path has to match the "Daemon Server File Directory" path you apply when creating a node in the panel! | ||
# The default setting is "/var/lib/pterodactyl/", however this can be changed to something like: | ||
# "/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! | ||
SERVERS_DATA_FULL_PATH=/var/lib/pterodactyl/ | ||
|
||
# Wings domain | ||
WINGS_DOMAIN=game.codinglab.gg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
services: | ||
wings: | ||
image: ghcr.io/pterodactyl/wings:latest | ||
env_file: | ||
- .env | ||
restart: always | ||
networks: | ||
- pterodactyl | ||
- wings0 | ||
ports: | ||
- '2022:2022' | ||
- '443:443' | ||
tty: true | ||
environment: | ||
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/' | ||
- '/tmp/pterodactyl/:/tmp/pterodactyl/' | ||
- '/etc/ssl/certs:/etc/ssl/certs:ro' | ||
- '${DATA_DIR}/wings/etc/:/etc/pterodactyl/' | ||
- '${DATA_DIR}/wings/logs:/var/log/pterodactyl/' | ||
- '${SERVERS_DATA_FULL_PATH}:${SERVERS_DATA_FULL_PATH}' | ||
# required if ssl by letsencrypt is enabled | ||
- '/etc/letsencrypt:/etc/letsencrypt' | ||
|
||
networks: | ||
pterodactyl: | ||
external: true | ||
wings0: | ||
name: wings0 | ||
driver: bridge | ||
ipam: | ||
config: | ||
- subnet: '172.21.0.0/16' | ||
driver_opts: | ||
com.docker.network.bridge.name: wings0 |