-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
42 lines (39 loc) · 983 Bytes
/
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
31
32
33
34
35
36
37
38
39
40
41
42
version: '3.7'
services:
redis:
image: redis:alpine
ports:
- '6379'
networks:
- contacts
gatekeeper:
depends_on:
- redis
image: docker.pkg.github.com/oslokommune/gatekeeper/gatekeeper:1.0.27
networks:
- contacts
ports:
- '4554:4554'
environment:
BASE_URL: http://localhost:4554
CLIENT_ID: ${GATEKEEPER_CLIENT_ID}
CLIENT_SECRET: ${GATEKEEPER_CLIENT_SECRET}
DISCOVERY_URL: ${GATEKEEPER_DISCOVERY_URL}
ORIGIN_WHITELIST: 'http://localhost:8080'
REDIS_URI: redis://redis:6379
TOKEN_COOKIES_SECURE: 'false'
UPSTREAMS: >
notes-service=http://notes-service:3000
notes-service:
depends_on:
- redis
image: docker.pkg.github.com/tuuturu/eme-notes-service/notes-service:0.0.10
ports:
- '3000'
networks:
- contacts
environment:
GATEKEEPER_URL: http://gatekeeper:4554
REDIS_URI: redis://redis:6379
networks:
contacts: