forked from equinor/aware
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
38 lines (36 loc) · 1.14 KB
/
docker-compose.yaml
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
version: "3"
services:
nginx:
restart: unless-stopped
build: proxy
ports:
- "8080:80"
api:
restart: unless-stopped
depends_on:
- nginx
- web
build: api
container_name: aware
image: ghcr.io/miljodir/aware/api:latest
volumes:
- ./api:/src
environment:
DEPLOYMENT_NAME: "Local"
FLASK_DEBUG: "True"
PROMETHEUS_API: "http://prometheus-operator-prometheus.monitoring:9090/api/v1/alerts"
# LOKI_API: "https://loki.dev.sdpaks.equinor.com/loki/api/v1/query_range"
# SENSU_API: "https://sensu-api.sdpaks.equinor.com/api/core/v2/namespaces/default/events"
# IMPORT_URLS: "https://aware.sdpaks.equinor.com/api/exports"
SENSU_KEY: ${SENSU_KEY}
# EXPORT_SECRET: ${EXPORT_SECRET}
LOKI_PASSWD: ${LOKI_PASSWD}
# IGNORE_PROMETHEUS_ALERTS: "TargetDown,DeadMansSwitch,KubeAPIDown,CoreDNSDown,KubeControllerManagerDown,KubeSchedulerDown,Watchdog"
web:
restart: unless-stopped
image: ghcr.io/miljodir/aware/web:latest
build: web
command: "yarn start"
stdin_open: true
volumes:
- ./web/src/:/code/src