-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
36 lines (35 loc) · 1002 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
version: '3.0'
services:
app:
image: karservice/kobra:latest
build:
context: .
depends_on:
- postgres
environment:
# Key-only variables will be inferred from the calling environment
- DJANGO_SETTINGS_MODULE
- KOBRA_ADFS_CLIENT_ID
- KOBRA_ADFS_HOST
- KOBRA_OPBEAT_BACKEND_APP_ID
- KOBRA_OPBEAT_BACKEND_ORG_ID
- KOBRA_OPBEAT_BACKEND_SECRET_TOKEN
- KOBRA_OPBEAT_FRONTEND_APP_ID
- KOBRA_OPBEAT_FRONTEND_ORG_ID
- KOBRA_SECRET_KEY
- KOBRA_SESAM_DATA_AGE_THRESHOLD
- KOBRA_SESAM_PASSWORD
- KOBRA_SESAM_USERNAME
- KOBRA_DATABASE_URL=postgres://kobra:kobra-pass@postgres/kobra
ports:
- 80:80
postgres:
image: sameersbn/postgresql:9.6
environment:
- DB_USER=kobra
- DB_PASS=kobra-pass
- DB_NAME=kobra
- REPLICATION_MODE=master
- REPLICATION_USER=kobra-replication
- REPLICATION_PASS=kobra-replication-pass
- REPLICATION_SSLMODE=prefer