-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathdocker-compose.ci.yaml
More file actions
30 lines (27 loc) · 810 Bytes
/
docker-compose.ci.yaml
File metadata and controls
30 lines (27 loc) · 810 Bytes
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
version: '3.7'
services:
alerta:
image: alerta/alerta-web
ports:
- "8080:8080"
depends_on:
- db
environment:
# - DEBUG=1 # remove this line to turn DEBUG off
- DATABASE_URL=postgres://postgres:postgres@db:5432/monitoring
- AUTH_REQUIRED=True
- ADMIN_USERS=admin@alerta.io,devops@alerta.io #default password: alerta
- ADMIN_KEY=demo-key # assigned to first user in ADMIN_USERS list
# - PLUGINS=reject,blackout,normalise,enhance
db:
image: postgres:14
environment:
- POSTGRES_DB=monitoring
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
restart: always
sut:
build: .
depends_on:
- alerta
command: ["./wait-for-it.sh", "alerta:8080", "-t", "60", "--", "pytest", "tests/integration/"]