Last active
July 21, 2023 02:19
-
-
Save trentnbauer/ce5e4f3b24124c273b01abaa6d2e8761 to your computer and use it in GitHub Desktop.
Pterodactyl Panel
This file contains hidden or 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
version: '3.8' | |
services: | |
database: | |
image: mariadb:10.5 | |
restart: always | |
command: --default-authentication-plugin=mysql_native_password | |
volumes: | |
- db:/var/lib/mysql | |
networks: | |
- panel | |
environment: | |
MYSQL_PASSWORD: $MYSQL_PASS | |
MYSQL_ROOT_PASSWORD: $MYSQL_PASS_ROOT | |
MYSQL_DATABASE: "panel" | |
MYSQL_USER: "pterodactyl" | |
cache: | |
image: redis:alpine3.18 | |
networks: | |
- panel | |
restart: always | |
volumes: | |
- cache:/data | |
panel: | |
image: ghcr.io/pterodactyl/panel:v1.11.3 | |
restart: always | |
networks: | |
- panel | |
ports: | |
- $PORT_HTTP:80 | |
#dns: | |
# - 1.1.1.1 | |
links: | |
- database | |
- cache | |
volumes: | |
- env:/app/var | |
- logs:/app/storage/logs | |
environment: | |
MAIL_FROM: $MAIL_FROM | |
MAIL_DRIVER: "smtp" | |
MAIL_HOST: $MAIL_SERVER | |
MAIL_PORT: $MAIL_PORT | |
MAIL_USERNAME: $MAIL_USERNAME | |
MAIL_PASSWORD: $MAIL_PASS | |
MAIL_ENCRYPTION: "true" | |
APP_URL: $PTERO_PANEL_URL | |
APP_TIMEZONE: $TZ | |
APP_SERVICE_AUTHOR: $MAIL_FROM | |
TRUSTED_PROXIES: "*" | |
DB_PASSWORD: $MYSQL_PASS | |
APP_ENV: "production" | |
APP_ENVIRONMENT_ONLY: "false" | |
CACHE_DRIVER: "redis" | |
SESSION_DRIVER: "redis" | |
QUEUE_DRIVER: "redis" | |
REDIS_HOST: "cache" | |
DB_HOST: "database" | |
DB_PORT: "3306" | |
networks: | |
panel: | |
volumes: | |
cache: | |
db: | |
env: | |
logs: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment