-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yaml
30 lines (29 loc) · 1.01 KB
/
docker-compose.yaml
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"
services:
postgres:
image: postgres:9.5
volumes:
- /var/lib/postgresql/data
environment:
- POSTGRES_USER=statuspage
- POSTGRES_PASSWORD=statuspage
restart: always
statuspage:
build:
context: .
ports:
- 80:8080
links:
- postgres:postgres
environment:
- API_TOKEN= # This is the token clients should use to access the API (AUTHORIZATION header)
- POSTGRES_ADDRESS=postgres:5432 # The address of the postgres instance
- POSTGRES_USER=statuspage # The postgres username for authorization
- POSTGRES_PASSWORD=statuspage # The postgres password for authorization
- POSTGRES_DB=statuspage # The postgres db name
- SITE_OWNER="DEMO" # The owner of the side, visible in page title
- SITE_COLOR= # The background color applied on the header element
- SITE_LOGO= # Custom logo, served from another site or local path inside the static folder
depends_on:
- postgres
restart: on-failure