From b4cdefac60de4dfa11b17ff5a2d660f9447bebaa Mon Sep 17 00:00:00 2001 From: nchebrov Date: Wed, 21 Jan 2026 16:51:40 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20panel/docker-compose.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- panel/docker-compose.yml | 61 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/panel/docker-compose.yml b/panel/docker-compose.yml index e69de29..b56bfbf 100644 --- a/panel/docker-compose.yml +++ b/panel/docker-compose.yml @@ -0,0 +1,61 @@ +services: + db: + image: "mariadb:latest" + container_name: pterodactyl_mariadb + restart: unless-stopped + command: "--default-authentication-plugin=mysql_native_password" + volumes: + - "./panel/db:/var/lib/mysql" + environment: + MYSQL_DATABASE: panel + MYSQL_USER: pterodactyl # Change if you want (also change DB_USERNAME in panel section) + MYSQL_PASSWORD: pterodactyl! # Change if you want (also change DB_PASSWORD in panel section) + MYSQL_ROOT_PASSWORD: pterodactyl!! # Change if you want + networks: + - pterodactyl + + cache: + image: "redis:alpine" + container_name: pterodactyl_redis + restart: unless-stopped + networks: + - pterodactyl + + panel: + image: "ghcr.io/pterodactyl/panel:latest" + container_name: pterodactyl_panel + restart: unless-stopped + stdin_open: true + tty: true + ports: + - "8080:80" + volumes: + - "./panel/var/:/app/var/" + - "./panel/logs/:/app/storage/logs" + - "./panel/nginx/:/etc/nginx/conf.d/" + environment: + RECAPTCHA_ENABLED: false + TZ: Europe/Moscow # Replace with your time zone + APP_TIMEZONE: Europe/Moscow # Replace with your time zone + APP_ENV: production + APP_ENVIRONMENT_ONLY: false + APP_URL: "https://ptero.manturovo-it.ru" # Replace with the FQDN you want to access the panel at + APP_SERVICE_AUTHOR: nchebrov@manturovo-it.ru # Replace with your email + TRUSTED_PROXIES: "*" + PTERODACTYL_TELEMETRY_ENABLED: false + DB_HOST: db + DB_PORT: 3306 + DB_USERNAME: pterodactyl # Replace with what you set for MYSQL_USER in db section + DB_PASSWORD: pterodactyl! # Replace with what you set for MYSQL_PASSWORD in db section + CACHE_DRIVER: redis + SESSION_DRIVER: redis + QUEUE_DRIVER: redis + REDIS_HOST: cache + networks: + - pterodactyl + + +networks: + pterodactyl: + name: pterodactyl + \ No newline at end of file