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