0
0
mirror of https://github.com/alerta/alerta.git synced 2024-09-07 21:42:58 +00:00
alerta_alerta/docker-compose.yml
Nick Satterly 5ff6d39306 try6
2021-12-07 09:23:33 +01:00

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