soc-fortress/CoPilot/docker-compose.yml
hcornet 506716e703
Some checks failed
Deployment Verification / deploy-and-test (push) Failing after 29s
first sync
2025-03-04 07:59:21 +01:00

58 lines
1.6 KiB
YAML

###########
# CoPilot #
###########
copilot-backend:
image: ghcr.io/socfortress/copilot-backend:latest
container_name: copilot-backend
env_file: .env
# Expose the Ports for Graylog Alerting and Docs
ports:
- "5000:5000"
volumes:
- copilot-logs:/opt/logs
# Mount the copilot.db file to persist the database
- copilot-data:/opt/copilot/backend/data
depends_on:
- copilot-mysql
restart: unless-stopped
copilot-frontend:
image: ghcr.io/socfortress/copilot-frontend:latest
container_name: copilot-frontend
env_file: .env
environment:
- SERVER_HOST=${SERVER_HOST:-localhost} # Set the domain name of your server
ports:
- "80:80"
- "443:443"
restart: unless-stopped
copilot-mysql:
image: mysql:8.0.38-debian
container_name: copilot-mysql
env_file: .env
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: copilot
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
volumes:
- copilot-mysql_data:/var/lib/mysql
restart: unless-stopped
copilot-minio:
image: quay.io/minio/minio:RELEASE.2024-09-13T20-26-02Z
container_name: copilot-minio
env_file: .env
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
volumes:
- copilot_minio-data:/data
command: server /data --console-address ":9001"
restart: unless-stopped
copilot-nuclei-module:
image: ghcr.io/socfortress/copilot-nuclei-module:latest
container_name: copilot-nuclei-module
restart: unless-stopped