version: "2.1" services: server: image: server build: context: . dockerfile: Dockerfile.server ports: - "2022:2022" - "2023:2023" - "2024:2024" volumes: - ./logs:/log - server-config:/etc/frms/config environment: - LOGTYPE=SERVER - VERBOSE=1 - LIS_PORT=2022 - REACTOR_PORT=2023 - TUI_PORT=2024 depends_on: - db db: image: influxdb:latest ports: - "8086:8086" volumes: - influx-data:/var/lib/influxdb2 - ./influxdb/startup:/docker-entrypoint-initdb.d - server-config:/configs - grafana-provisioning:/grafana env_file: - ./internal/configs/db.env environment: - DOCKER_INFLUXDB_INIT_MODE=setup - DOCKER_INFLUXDB_INIT_USERNAME=admin - DOCKER_INFLUXDB_INIT_PASSWORD=F0r3l1ght - DOCKER_INFLUXDB_INIT_ORG=ForeLight - DOCKER_INFLUXDB_INIT_BUCKET=test grafana: image: grafana/grafana-oss:latest ports: - "3000:3000" volumes: - grafana-provisioning:/etc/grafana/provisioning - grafana-data:/var/lib/grafana depends_on: - db volumes: grafana-data: grafana-provisioning: influx-data: server-config: