mirror of
https://github.com/alerta/alerta.git
synced 2024-09-07 21:42:58 +00:00
24 lines
470 B
YAML
24 lines
470 B
YAML
version: '3.1'
|
|
|
|
services:
|
|
api:
|
|
image: ghcr.io/alerta/alerta-api
|
|
ports:
|
|
- 8080:8080
|
|
depends_on:
|
|
- db
|
|
environment:
|
|
# - DEBUG=1 # remove this line to turn DEBUG off
|
|
- DATABASE_URL=postgres://postgres:postgres@db:5432/monitoring
|
|
restart: always
|
|
|
|
db:
|
|
image: postgres
|
|
ports:
|
|
- 5432
|
|
environment:
|
|
POSTGRES_DB: monitoring
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
restart: always
|