You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.4 KiB
YAML
54 lines
1.4 KiB
YAML
2 years ago
|
version: "2.1"
|
||
|
services:
|
||
2 years ago
|
server:
|
||
2 years ago
|
image: server
|
||
2 years ago
|
build:
|
||
|
context: .
|
||
|
dockerfile: Dockerfile.server
|
||
2 years ago
|
ports:
|
||
|
- "2022:2022"
|
||
|
- "2023:2023"
|
||
2 years ago
|
- "2024:2024"
|
||
2 years ago
|
volumes:
|
||
2 years ago
|
- ./logs:/log
|
||
2 years ago
|
- server-config:/etc/frms/config
|
||
2 years ago
|
environment:
|
||
2 years ago
|
- LOGTYPE=SERVER
|
||
2 years ago
|
- VERBOSE=1
|
||
2 years ago
|
- LIS_PORT=2022
|
||
|
- REACTOR_PORT=2023
|
||
|
- TUI_PORT=2024
|
||
2 years ago
|
depends_on:
|
||
|
- db
|
||
|
db:
|
||
|
image: influxdb:latest
|
||
|
ports:
|
||
|
- "8086:8086"
|
||
|
volumes:
|
||
2 years ago
|
- influx-data:/var/lib/influxdb2
|
||
2 years ago
|
- ./influxdb/startup:/docker-entrypoint-initdb.d
|
||
2 years ago
|
- server-config:/configs
|
||
|
- grafana-provisioning:/grafana
|
||
2 years ago
|
env_file:
|
||
|
- ./internal/configs/db.env
|
||
2 years ago
|
environment:
|
||
|
- DOCKER_INFLUXDB_INIT_MODE=setup
|
||
2 years ago
|
- DOCKER_INFLUXDB_INIT_USERNAME=admin
|
||
2 years ago
|
- DOCKER_INFLUXDB_INIT_PASSWORD=F0r3l1ght
|
||
2 years ago
|
- DOCKER_INFLUXDB_INIT_ORG=ForeLight
|
||
2 years ago
|
- DOCKER_INFLUXDB_INIT_BUCKET=test
|
||
2 years ago
|
grafana:
|
||
|
image: grafana/grafana-oss:latest
|
||
|
ports:
|
||
|
- "3000:3000"
|
||
|
volumes:
|
||
2 years ago
|
- grafana-provisioning:/etc/grafana/provisioning
|
||
2 years ago
|
- grafana-data:/var/lib/grafana
|
||
2 years ago
|
depends_on:
|
||
|
- db
|
||
2 years ago
|
volumes:
|
||
|
grafana-data:
|
||
2 years ago
|
grafana-provisioning:
|
||
2 years ago
|
influx-data:
|
||
2 years ago
|
server-config:
|