Skip to content

Commit a4c54c4

Browse files
committed
updated docker-compose
updated docker-compose
1 parent 47c100d commit a4c54c4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docker-compose.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
version: '2'
22
services:
33
database:
4-
hostname: database
54
image: mariadb
65
volumes:
76
- "/srv/pterodactyl/database:/var/lib/mysql"
87
environment:
8+
## Database settings
9+
## change if you want it to be more secure.
910
- "MYSQL_ROOT_PASSWORD=apassword"
1011
- "MYSQL_DATABASE=pterodb"
1112
- "MYSQL_USER=ptero"
1213
- "MYSQL_PASSWORD=pterodbpass"
1314

1415
cache:
15-
hostname: redis
1616
image: redis:alpine
1717

1818
panel:
@@ -40,7 +40,7 @@ services:
4040
- "CACHE_DRIVER=redis"
4141
- "SESSION_DRIVER=redis"
4242
- "QUEUE_DRIVER=redis"
43-
- "REDIS_HOST=cache_1"
43+
- "REDIS_HOST=cache"
4444
- "REDIS_PASSWORD=null"
4545
- "REDIS_PORT=6379"
4646
## Domain settings
@@ -50,6 +50,7 @@ services:
5050
## Service egg settings
5151
- "APP_SERVICE_AUTHOR=noreply@your.domain.here"
5252
## Database settings
53+
## change if you want it to be more secure.
5354
- "DB_HOST=database"
5455
- "DB_PORT=3306"
5556
- "DB_DATABASE=pterodb"

0 commit comments

Comments
 (0)