installed pteradactyl

This commit is contained in:
poslop
2024-11-02 16:10:42 -05:00
parent 4c34f4a17f
commit a2dcfaf4a4
5 changed files with 187 additions and 34 deletions

View File

@@ -7,10 +7,11 @@ services:
- PGID=1000
- TZ=America/Chicago
- APP_URL=https://bookstack.mintyserver.net
- APP_KEY=${BOOKKEY}
- DB_HOST=bookstack_db
- DB_PORT=3306
- DB_USER=bookstack
- DB_PASS=${PASS}
- DB_USERNAME=bookstack
- DB_PASSWORD=${PASS}
- DB_DATABASE=bookstackapp
volumes:
- bookstack:/config

View File

@@ -1,31 +0,0 @@
services:
gluetun:
image: ghcr.io/qdm12/gluetun
cap_add:
- NET_ADMIN
container_name: gluetun
environment:
- VPN_SERVICE_PROVIDER=mullvad
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY=${MULLKEY}
- WIREGUARD_ADDRESSES=10.73.138.162/32
- SERVER_CITIES=Chicago IL
volumes:
- gluetun:/gluetun
ports:
- 8181:8181
- 6881:6881
- 6881:6881/udp
restart: unless-stopped
networks:
- mullvad
networks:
mullvad:
name: mullvad
external: true
volumes:
gluetun:
name: gluetun
external: true

View File

@@ -0,0 +1,130 @@
###
# Minimal Configuration File
#
# This configuration strips services to the absolute bare essentials to function.
# Very useful for reverse proxy configurations where a user would override networking anyways.
###
services:
##
# -- Panel Cron --
# These are required for schedules and other misc tasks to
# function correctly.
##
tcron:
command: p:cron
container_name: tcron
env_file: ${TPATH}conf.d/panel.env
image: ccarney16/pterodactyl-panel:${PANEL_VERSION:-latest}
profiles: [ panel ]
restart: always
volumes:
- tpanel:/data
networks:
- pterodactyl
##
# -- Pterodactyl Daemon --
# This service provides the wings runtime.
##
twings:
container_name: twings
environment:
- TZ=${DAEMON_TIMEZONE:-UTC}
image: docker.io/ccarney16/pterodactyl-daemon:${DAEMON_VERSION:-latest}
privileged: true
profiles: [ daemon ]
restart: always
volumes:
- ${DAEMON_DATA_DIRECTORY:-/var/lib/pterodactyl}:${DAEMON_DATA_DIRECTORY:-/var/lib/pterodactyl}
- ${DOCKER_SOCKET:-/var/run/docker.sock}:/var/run/docker.sock
- /tmp/pterodactyl/:/tmp/pterodactyl/
- ${TPATH}conf.d/daemon:/etc/pterodactyl
working_dir: ${DAEMON_DATA_DIRECTORY:-/var/lib/pterodactyl}
networks:
- pterodactyl_nw
- caddy
##
# -- MariaDB --
# Required for the control panel to work.
# Stores Server/User information
##
tdb:
image: docker.io/library/mariadb:10.11
container_name: tdb
env_file: ${TPATH}conf.d/mariadb.env
networks:
- pterodactyl
profiles: [ panel ]
restart: always
volumes:
- tdb:/var/lib/mysql
##
# -- Pterodactyl Panel --
# This is the container that provides the main web interface.
##
tpanel:
env_file: ${TPATH}conf.d/panel.env
image: docker.io/ccarney16/pterodactyl-panel:${PANEL_VERSION:-latest}
container_name: tpanel
profiles: [ panel ]
ports:
- 4848:80
restart: always
volumes:
- tpanel:/data
depends_on:
tdb:
condition: service_started
tredis:
condition: service_started
networks:
- pterodactyl
- caddy
##
# -- Redis --
##
tredis:
container_name: tredis
cpu_count: 2
image: docker.io/library/redis:alpine
mem_limit: 128m
networks:
- pterodactyl
profiles: [ panel ]
restart: always
##
# -- Panel Worker --
##
tworker:
container_name: tworker
command: p:worker
env_file: ${TPATH}conf.d/panel.env
image: docker.io/ccarney16/pterodactyl-panel:${PANEL_VERSION:-latest}
profiles: [ panel ]
restart: always
volumes:
- tpanel:/data
networks:
- pterodactyl
volumes:
tpanel:
name: tpanel
external: true
tdb:
name: tdb
external: true
networks:
caddy:
external: true
pterodactyl:
external: true
pterodactyl_nw:
external: true

View File

@@ -0,0 +1,52 @@
services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
environment:
- DOCKER_MODS=ghcr.io/vuetorrent/vuetorrent-lsio-mod:latest
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- WEBUI_PORT=8181
network_mode: "service:gluetun"
volumes:
- qbittorrent:/config
- /mnt/nextcloud:/mnt/files
restart: unless-stopped
depends_on:
gluetun:
condition: service_healthy
gluetun:
image: ghcr.io/qdm12/gluetun
cap_add:
- NET_ADMIN
container_name: gluetun
environment:
- VPN_SERVICE_PROVIDER=mullvad
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY=${MULLKEY}
- WIREGUARD_ADDRESSES=10.73.138.162/32
- SERVER_CITIES=Chicago IL
volumes:
- gluetun:/gluetun
devices:
- /dev/net/tun
ports:
- 8181:8181
- 6881:6881
- 6881:6881/udp
restart: unless-stopped
networks:
- qbit
volumes:
qbittorrent:
external: true
gluetun:
external: true
networks:
qbit:
external: true

View File

@@ -14,7 +14,6 @@ services=(
"Media/arr.yml"
"Media/jellyfin.yml"
"Media/shoko.yml"
"Networking/gluetun.yml"
"Networking/technitium.yml"
"Networking/caddy.yml"
"Tools/searxng.yml"
@@ -22,6 +21,8 @@ services=(
"Tools/p2pool.yml"
"Tools/ariang.yml"
"Tools/nextcloud-aio.yml"
"Tools/qbit.yml"
"pterodactyl/docker-compose.yml"
)
# Start building the docker compose command with multiple -f flags