parent
47c100de2f
commit
a4c54c4e47
|
@ -1,18 +1,18 @@
|
|||
version: '2'
|
||||
services:
|
||||
database:
|
||||
hostname: database
|
||||
image: mariadb
|
||||
volumes:
|
||||
- "/srv/pterodactyl/database:/var/lib/mysql"
|
||||
environment:
|
||||
## Database settings
|
||||
## change if you want it to be more secure.
|
||||
- "MYSQL_ROOT_PASSWORD=apassword"
|
||||
- "MYSQL_DATABASE=pterodb"
|
||||
- "MYSQL_USER=ptero"
|
||||
- "MYSQL_PASSWORD=pterodbpass"
|
||||
|
||||
cache:
|
||||
hostname: redis
|
||||
image: redis:alpine
|
||||
|
||||
panel:
|
||||
|
@ -40,7 +40,7 @@ services:
|
|||
- "CACHE_DRIVER=redis"
|
||||
- "SESSION_DRIVER=redis"
|
||||
- "QUEUE_DRIVER=redis"
|
||||
- "REDIS_HOST=cache_1"
|
||||
- "REDIS_HOST=cache"
|
||||
- "REDIS_PASSWORD=null"
|
||||
- "REDIS_PORT=6379"
|
||||
## Domain settings
|
||||
|
@ -50,6 +50,7 @@ services:
|
|||
## Service egg settings
|
||||
- "APP_SERVICE_AUTHOR=noreply@your.domain.here"
|
||||
## Database settings
|
||||
## change if you want it to be more secure.
|
||||
- "DB_HOST=database"
|
||||
- "DB_PORT=3306"
|
||||
- "DB_DATABASE=pterodb"
|
||||
|
|
Loading…
Reference in New Issue