-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
47 lines (46 loc) · 1.06 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '2'
services:
database:
hostname: database
image: quay.io/parkervcp/mariadb-alpine:latest
expose:
- "3306"
restart: always
volumes:
- "/srv/pterodactyl/database:/var/lib/mysql"
environment:
- "MYSQL_ROOT_PASSWORD=apassword"
- "MYSQL_DATABASE=pterodb"
- "MYSQL_USER=ptero"
- "MYSQL_PASSWORD=pterodbpass"
Panel:
hostname: Panel
image: quay.io/parkervcp/pterodactyl-panel:latest
ports:
- "80:80"
- "443:443"
tty: true
restart: always
links:
- database
volumes:
- "/srv/pterodactyl/var/:/var/www/html/var/"
- "/srv/pterodactyl/certs/:/root/.caddy/"
environment:
- "db_host=database"
- "db_port=3306"
- "db_name=pterodb"
- "db_user=ptero"
- "db_pass=pterodbpass"
- "panel_url="
- "timezone="
- "email_driver="
- "panel_email="
- "email_user="
- "email_pass="
- "email_domain="
- "email_port="
- "admin_email="
- "admin_pass="
- "admin_stat=1"
- "ssl=true"