From 2721fd3eb5f047862677a56bba4eec8be8ac70da Mon Sep 17 00:00:00 2001 From: Michael Parker Date: Sun, 19 Apr 2020 22:28:11 -0400 Subject: [PATCH] update docker-compose file Adds restarting for the containers. --- docker-compose.example.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.example.yml b/docker-compose.example.yml index 7f6d4ea1b..c69cce565 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -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"