1
0
Fork 0
This repository has been archived on 2025-01-12. You can view files and clone it, but cannot push or open issues or pull requests.
pterodactyl-panel-docker/.docker-compose.yml

65 lines
1.9 KiB
YAML
Raw Normal View History

2017-12-23 15:11:21 -08:00
version: "3"
services:
db:
environment:
- "MYSQL_DATABASE=pterodactyl"
- "MYSQL_PASSWORD=pterodactyl"
- "MYSQL_RANDOM_ROOT_PASSWORD=yes"
- "MYSQL_USER=pterodactyl"
image: mariadb:latest
networks:
- default
volumes:
- db:/var/lib/mysql
http:
build:
context: services/http
dockerfile: Dockerfile
depends_on:
- "php"
ports:
- "80:80"
networks:
- default
volumes:
- panel:/var/www/html/pterodactyl
php:
build:
context: services/php
dockerfile: Dockerfile
2018-02-17 18:26:24 -08:00
depends_on:
- "db"
2017-12-23 15:11:21 -08:00
environment:
2018-02-17 20:20:35 -08:00
- "author="
- "url="
2017-12-23 15:11:21 -08:00
- "timezone=" # See http://php.net/manual/en/timezones.php for timezones.
2018-02-17 20:20:35 -08:00
- "driver=" # smtp, mail, mailgun, mandrill, postmark
2017-12-23 15:11:21 -08:00
- "panel_email=" # Required for all.
- "email_name=" # Required for all. Spaces require quotes.
2018-02-17 20:20:35 -08:00
- "email_encryption=" # Required for all.
- "email_username=" # Required for smtp, mandrill, mailgun, and postmark.
- "email_password=" # Required for smtp.
2017-12-23 15:11:21 -08:00
- "email_domain=" # Required for smtp and mailgun.
- "email_port=" # Required for smtp.
- "admin_email="
- "admin_first="
- "admin_last="
2018-02-17 20:20:35 -08:00
- "admin_password=" # Passwords for the user must include mixed case, at least one number, and at least 8 characters.
2017-12-23 15:11:21 -08:00
- "admin_username="
networks:
- default
volumes:
- panel:/var/www/html/pterodactyl
redis:
image: redis:alpine
networks:
- default
networks:
default:
driver: bridge
volumes:
db:
panel: