Skip to content

Commit 2721fd3

Browse files
committed
update docker-compose file
Adds restarting for the containers.
1 parent 7a3263f commit 2721fd3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker-compose.example.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ version: '2'
22
services:
33
database:
44
image: mariadb:10.4
5+
restart: always
56
volumes:
67
- "/srv/pterodactyl/database:/var/lib/mysql"
78
environment:
@@ -14,9 +15,11 @@ services:
1415

1516
cache:
1617
image: redis:alpine
18+
restart: always
1719

1820
panel:
1921
image: quay.io/pterodactyl/panel:latest
22+
restart: always
2023
ports:
2124
- "80:80"
2225
- "443:443"

0 commit comments

Comments
 (0)