forked from alerta/docker-alerta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
27 lines (27 loc) · 915 Bytes
/
docker-compose.yml
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
version: '3.1'
services:
web:
build: .
# image: alerta/alerta-web
# volumes:
# - $PWD/config/alertad.conf.example:/app/alertad.conf
# - $PWD/config/alerta.conf.example:/app/alerta.conf
# - $PWD/config/config.js.example:/web/config.js
ports:
- 8080:8080
depends_on:
- db
environment:
- DEBUG=1 # remove this line to turn DEBUG off
# - BASE_URL=/alerta/api # NOTE: must end in '/api' then web URL will be '/alerta'
- AUTH_REQUIRED=True
# - ADMIN_PASSWORD=password
- ADMIN_KEY=demo-admin-key
- "COLORS={'severity': {'fatal': '#303030'}, 'text': 'white'}"
- "SEVERITY={'fatal': 0}"
- TRACKING_ID=UA-44644195-6
- PLUGINS=reject,blackout,normalise,enhance
- INSTALL_PLUGINS=normalise,enhance
restart: always