updated docker-compose
updated docker-compose
This commit is contained in:
parent
47c100de2f
commit
a4c54c4e47
1 changed files with 4 additions and 3 deletions
|
@ -1,18 +1,18 @@
|
||||||
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"
|
||||||
environment:
|
environment:
|
||||||
|
## Database settings
|
||||||
|
## change if you want it to be more secure.
|
||||||
- "MYSQL_ROOT_PASSWORD=apassword"
|
- "MYSQL_ROOT_PASSWORD=apassword"
|
||||||
- "MYSQL_DATABASE=pterodb"
|
- "MYSQL_DATABASE=pterodb"
|
||||||
- "MYSQL_USER=ptero"
|
- "MYSQL_USER=ptero"
|
||||||
- "MYSQL_PASSWORD=pterodbpass"
|
- "MYSQL_PASSWORD=pterodbpass"
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
hostname: redis
|
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
|
||||||
panel:
|
panel:
|
||||||
|
@ -40,7 +40,7 @@ services:
|
||||||
- "CACHE_DRIVER=redis"
|
- "CACHE_DRIVER=redis"
|
||||||
- "SESSION_DRIVER=redis"
|
- "SESSION_DRIVER=redis"
|
||||||
- "QUEUE_DRIVER=redis"
|
- "QUEUE_DRIVER=redis"
|
||||||
- "REDIS_HOST=cache_1"
|
- "REDIS_HOST=cache"
|
||||||
- "REDIS_PASSWORD=null"
|
- "REDIS_PASSWORD=null"
|
||||||
- "REDIS_PORT=6379"
|
- "REDIS_PORT=6379"
|
||||||
## Domain settings
|
## Domain settings
|
||||||
|
@ -50,6 +50,7 @@ services:
|
||||||
## Service egg settings
|
## Service egg settings
|
||||||
- "APP_SERVICE_AUTHOR=noreply@your.domain.here"
|
- "APP_SERVICE_AUTHOR=noreply@your.domain.here"
|
||||||
## Database settings
|
## Database settings
|
||||||
|
## change if you want it to be more secure.
|
||||||
- "DB_HOST=database"
|
- "DB_HOST=database"
|
||||||
- "DB_PORT=3306"
|
- "DB_PORT=3306"
|
||||||
- "DB_DATABASE=pterodb"
|
- "DB_DATABASE=pterodb"
|
||||||
|
|
Loading…
Reference in a new issue