Skip to content

Commit 47c100d

Browse files
committed
latest changes
1 parent 87e125d commit 47c100d

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

.dev/docker/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ Start the docker container and the required dependencies (either provide existin
1717
After the startup is complete you'll need to create a user.
1818
If you are running the docker container without docker-compose, use:
1919
```
20-
docker exec -it <container id> php artisan pterodactyl:user
20+
docker exec -it <container id> php artisan p:user:make
2121
```
2222
If you are using docker compose use
2323
```
24-
docker-compose exec panel php artisan pterodactyl:user
24+
docker-compose exec panel php artisan p:user:make
2525
```
2626

2727
## Environment Variables

.dev/docker/www.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ listen.mode = 0750
1111
pm = ondemand
1212
pm.max_children = 9
1313
pm.process_idle_timeout = 10s
14-
pm.max_requests = 200
14+
pm.max_requests = 200
15+
16+
clear_env = no

docker-compose.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
version: '2'
22
services:
33
database:
4+
hostname: database
45
image: mariadb
56
volumes:
67
- "/srv/pterodactyl/database:/var/lib/mysql"
@@ -11,6 +12,7 @@ services:
1112
- "MYSQL_PASSWORD=pterodbpass"
1213

1314
cache:
15+
hostname: redis
1416
image: redis:alpine
1517

1618
panel:
@@ -23,7 +25,6 @@ services:
2325
- cache
2426
volumes:
2527
- "/srv/pterodactyl/var/:/app/var/"
26-
- "/srv/pterodactyl/certs/:/"
2728
environment:
2829
## These are defaults and should be left alone
2930
- "APP_ENV=production"
@@ -61,4 +62,10 @@ services:
6162
- "MAIL_PORT=1025"
6263
- "MAIL_USERNAME=''"
6364
- "MAIL_PASSWORD=''"
64-
- "MAIL_ENCRYPTION=true"
65+
- "MAIL_ENCRYPTION=true"
66+
67+
networks:
68+
default:
69+
ipam:
70+
config:
71+
- subnet: 172.20.0.0/16

0 commit comments

Comments
 (0)