Обновить panel/docker-compose.yml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user