latest changes

This commit is contained in:
Michael (Parker) Parker 2018-08-14 00:01:25 -04:00
parent 87e125ddad
commit 47c100de2f
3 changed files with 14 additions and 5 deletions

View file

@ -17,11 +17,11 @@ Start the docker container and the required dependencies (either provide existin
After the startup is complete you'll need to create a user.
If you are running the docker container without docker-compose, use:
```
docker exec -it <container id> php artisan pterodactyl:user
docker exec -it <container id> php artisan p:user:make
```
If you are using docker compose use
```
docker-compose exec panel php artisan pterodactyl:user
docker-compose exec panel php artisan p:user:make
```
## Environment Variables

View file

@ -11,4 +11,6 @@ listen.mode = 0750
pm = ondemand
pm.max_children = 9
pm.process_idle_timeout = 10s
pm.max_requests = 200
pm.max_requests = 200
clear_env = no

View file

@ -1,6 +1,7 @@
version: '2'
services:
database:
hostname: database
image: mariadb
volumes:
- "/srv/pterodactyl/database:/var/lib/mysql"
@ -11,6 +12,7 @@ services:
- "MYSQL_PASSWORD=pterodbpass"
cache:
hostname: redis
image: redis:alpine
panel:
@ -23,7 +25,6 @@ services:
- cache
volumes:
- "/srv/pterodactyl/var/:/app/var/"
- "/srv/pterodactyl/certs/:/"
environment:
## These are defaults and should be left alone
- "APP_ENV=production"
@ -61,4 +62,10 @@ services:
- "MAIL_PORT=1025"
- "MAIL_USERNAME=''"
- "MAIL_PASSWORD=''"
- "MAIL_ENCRYPTION=true"
- "MAIL_ENCRYPTION=true"
networks:
default:
ipam:
config:
- subnet: 172.20.0.0/16