@cryptotaxi247 / CoPilot / commits / dca85253

fix: add restart policy to all services in docker-compose (#405)

taylor_socfortress committed Feb 9, 2025 at 11:39 UTC dca852530a9acb71fd165e74bd7dda0ba68fa6d4
1 file changed +5
docker-compose.yml
+5
@@ -13,6 +13,7 @@ services:
13 env_file: .env
14 depends_on:
15 - copilot-mysql
16 + restart: always
17
18 copilot-frontend:
19 image: ghcr.io/socfortress/copilot-frontend:latest
@@ -21,6 +22,7 @@ services:
22 ports:
23 - "80:80"
24 - "443:443"
25 + restart: always
26
27 copilot-mysql:
28 image: mysql:8.0.38-debian
@@ -33,6 +35,7 @@ services:
35 - "3306:3306"
36 volumes:
37 - mysql-data:/var/lib/mysql
38 + restart: always
39
40 copilot-minio:
41 image: quay.io/minio/minio:RELEASE.2024-09-13T20-26-02Z
@@ -44,9 +47,11 @@ services:
47 volumes:
48 - ./data/data/minio-data:/data
49 command: server /data --console-address ":9001"
50 + restart: always
51
52 copilot-nuclei-module:
53 image: ghcr.io/socfortress/copilot-nuclei-module:latest
54 + restart: always
55
56 volumes:
57 mysql-data: