-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
45 lines (44 loc) · 941 Bytes
/
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
version: "3.4"
services:
database:
image: mariadb
restart: always
environment:
MYSQL_DATABASE: panel
MYSQL_USER: pterodactyl
MYSQL_PASSWORD: thisisthepasswordforpterodactyl
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
volumes:
- db:/var/lib/mysql
cache:
image: redis
restart: always
php-fpm:
image: yoshiwalsh/pterodactyl-panel:v1.11.5
restart: always
depends_on:
- database
volumes:
- app:/var/www/html/
- storage:/var/www/html/storage/
- public:/var/www/html/public/
environment:
DB_HOST: database
DB_PORT: 3306
DB_DATABASE: panel
DB_USERNAME: pterodactyl
DB_PASSWORD: thisisthepasswordforpterodactyl
nginx:
image: joshuawalsh/nginx-for-php-fpm
restart: always
depends_on:
- php-fpm
ports:
- 5080:80
volumes:
- public:/var/www/html/
volumes:
public:
db:
storage:
app: