update docker-compose file

Adds restarting for the containers.
This commit is contained in:
Michael Parker 2020-04-19 22:28:11 -04:00
parent 7a3263f57b
commit 2721fd3eb5

View file

@ -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"