| 1 | version: "2" |
| 2 | |
| 3 | services: |
| 4 | copilot-backend: |
| 5 | image: ghcr.io/socfortress/copilot-backend:latest |
| 6 | # Expose the Ports for Graylog Alerting and Docs |
| 7 | ports: |
| 8 | - "5000:5000" |
| 9 | volumes: |
| 10 | - ./data/copilot-backend-data/logs:/opt/logs |
| 11 | # Mount the copilot.db file to persist the database |
| 12 | - ./data/data:/opt/copilot/backend/data |
| 13 | env_file: .env |
| 14 | |
| 15 | copilot-frontend: |
| 16 | image: ghcr.io/socfortress/copilot-frontend:latest |
| 17 | environment: |
| 18 | - SERVER_HOST=${SERVER_HOST:-localhost} # Set the domain name of your server |
| 19 | ports: |
| 20 | - "80:80" |
| 21 | - "443:443" |
| 22 | |
| 23 | copilot-huntress-module: |
| 24 | image: ghcr.io/socfortress/copilot-huntress-module:latest |
| 25 | |
| 26 | copilot-mimecast-module: |
| 27 | image: ghcr.io/socfortress/copilot-mimecast-module:latest |
| 28 | |
| 29 | networks: |
| 30 | default: |
| 31 | driver: bridge |
| 32 | # In case you need to set the MTU |
| 33 | #driver_opts: |
| 34 | # com.docker.network.driver.mtu: "1450" |