-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
docker-compose.yml
59 lines (52 loc) · 1.67 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: "2"
services:
copilot-backend:
image: ghcr.io/socfortress/copilot-backend:latest
# Expose the Ports for Graylog Alerting and Docs
ports:
- "5000:5000"
volumes:
- ./data/copilot-backend-data/logs:/opt/logs
# Mount the copilot.db file to persist the database
- ./data/data:/opt/copilot/backend/data
env_file: .env
depends_on:
- copilot-mysql
copilot-frontend:
image: ghcr.io/socfortress/copilot-frontend:latest
environment:
- SERVER_HOST=${SERVER_HOST:-localhost} # Set the domain name of your server
ports:
- "80:80"
- "443:443"
copilot-mysql:
image: mysql:8.0.38-debian
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: copilot
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
ports:
- "3306:3306"
volumes:
- mysql-data:/var/lib/mysql
copilot-minio:
image: quay.io/minio/minio:RELEASE.2024-09-13T20-26-02Z
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
ports:
- "9000:9000"
volumes:
- ./data/data/minio-data:/data
command: server /data --console-address ":9001"
copilot-nuclei-module:
image: ghcr.io/socfortress/copilot-nuclei-module:latest
volumes:
mysql-data:
networks:
default:
driver: bridge
# In case you need to set the MTU
#driver_opts:
# com.docker.network.driver.mtu: "1450"