Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit a6d2229

Browse files
Keep Pilothouse running across reboots
Resolves #130
1 parent 05f8e47 commit a6d2229

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

templates/run/docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ services:
1010
- main
1111
ports:
1212
- 1080:1080
13+
restart: unless-stopped
1314

1415
mysql:
1516
environment:
@@ -19,6 +20,7 @@ services:
1920
- main
2021
ports:
2122
- 3306:3306
23+
restart: unless-stopped
2224
volumes:
2325
- "{{MYSQL_CONFIG_FILE}}:/etc/mysql/conf.d/pilothouse.cnf"
2426
- "mysqldata:/var/lib/mysql"
@@ -32,6 +34,7 @@ services:
3234
ports:
3335
- 80:80
3436
- 443:443
37+
restart: unless-stopped
3538
volumes:
3639
- "{{HTTPS_CERTIFICATE_CERT}}:/etc/nginx/https-certificate.cert"
3740
- "{{HTTPS_CERTIFICATE_KEY}}:/etc/nginx/https-certificate.key"
@@ -46,6 +49,7 @@ services:
4649
- TERM=xterm
4750
networks:
4851
- main
52+
restart: unless-stopped
4953
volumes:
5054
- "{{HTTPS_CERTIFICATE_CERT}}:/usr/local/share/ca-certificates/pilothouse.crt"
5155
- "{{PHP_CONFIG_FILE}}:/usr/local/etc/php/conf.d/pilothouse.ini"
@@ -68,13 +72,15 @@ services:
6872
- main
6973
ports:
7074
- 8080:80
75+
restart: unless-stopped
7176

7277
redis:
7378
image: redis:3-alpine
7479
networks:
7580
- main
7681
ports:
7782
- 6379:6379
83+
restart: unless-stopped
7884

7985
volumes:
8086
mysqldata:

0 commit comments

Comments
 (0)