update docker-compose file
Adds restarting for the containers.
This commit is contained in:
parent
7a3263f57b
commit
2721fd3eb5
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,7 @@ version: '2'
|
|||
services:
|
||||
database:
|
||||
image: mariadb:10.4
|
||||
restart: always
|
||||
volumes:
|
||||
- "/srv/pterodactyl/database:/var/lib/mysql"
|
||||
environment:
|
||||
|
@ -14,9 +15,11 @@ services:
|
|||
|
||||
cache:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
|
||||
panel:
|
||||
image: quay.io/pterodactyl/panel:latest
|
||||
restart: always
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
|
|
Loading…
Reference in a new issue