-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (39 loc) · 841 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
42
43
44
version: '2'
services:
hydra:
build:
context: .
dockerfile: Dockerfile-dangerous
volumes:
- hydravolume:/root
links:
- rethinkdb:database
ports:
- "4444:4444"
- "4445:4445"
environment:
- SYSTEM_SECRET=${SYSTEM_SECRET}
- CONSENT_URL=http://${DOCKER_IP}:3000
- DATABASE_URL=rethinkdb://database:28015/hydra
restart: unless-stopped
consent:
environment:
- HYDRA_URL=https://hydra:4444
- NODE_TLS_REJECT_UNAUTHORIZED=0
image: oryam/hydra-idp-react
links:
- hydra
volumes:
- hydravolume:/root
ports:
- "3000:3000"
restart: unless-stopped
rethinkdb:
image: rethinkdb
ports:
- "8080:8080"
- "28015:28015"
- "29015:29015"
volumes:
hydravolume:
driver: local