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
2018-02-18 23:53:11 -08:00

53 lines
1.2 KiB
YAML

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:
- env:/var/www/html/env
- panel:/var/www/html/pterodactyl
- storage:/var/www/html/pterodactyl/storage
php:
build:
context: services/php
dockerfile: Dockerfile
depends_on:
- "db"
networks:
- default
volumes:
- env:/var/www/html/env
- panel:/var/www/html/pterodactyl
- storage:/var/www/html/pterodactyl/storage
redis:
image: redis:alpine
networks:
- default
networks:
default:
driver: bridge
volumes:
db:
env:
panel:
storage: