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. After the startup is complete you'll need to create a user.
If you are running the docker container without docker-compose, use: 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 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 ## Environment Variables

View File

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

View File

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