-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
41 lines (37 loc) · 930 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Installation: https://github.com/TwiN/gatus#docker
services:
gatus:
image: twinproduction/gatus:v5.12.1
container_name: gatus
ports:
- '8080:8080'
volumes:
- ./config:/config
environment:
- POSTGRES_DB=${GATUS_POSTGRES_DB}
- POSTGRES_USER=${GATUS_POSTGRES_USER}
- POSTGRES_PASSWORD=${GATUS_POSTGRES_PASSWORD}
restart: unless-stopped
depends_on:
- gatus-postgres
networks:
- proxy
gatus-postgres:
image: postgres:16-alpine3.19
container_name: gatus-postgres
volumes:
- gatus-postgresql-volume:/var/lib/postgresql/data
ports:
- '5432:5432'
environment:
- POSTGRES_DB=${GATUS_POSTGRES_DB}
- POSTGRES_USER=${GATUS_POSTGRES_USER}
- POSTGRES_PASSWORD=${GATUS_POSTGRES_PASSWORD}
networks:
- proxy
volumes:
gatus-postgresql-volume: {}
networks:
proxy:
driver: bridge
external: true