-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
45 lines (41 loc) · 995 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
43
44
45
version: '3.8'
services:
njs-functional-test:
build:
context: .
dockerfile: ./njs/Dockerfile
environment:
USER_FETCH_URL: 'http://fake-oauth:8080/idp/userinfo.openid'
SECRETS: '{"mysupersecretkey":"123123123"}'
entrypoint: [ "/usr/sbin/nginx", "-g", "daemon off;error_log /dev/stdout debug;" ]
volumes:
- .:/app
ports:
- "8008:8008"
deploy:
resources:
limits:
cpus: '0.25'
memory: 50M
reservations:
cpus: '0.25'
memory: 50M
nodejs-functional-test:
build:
context: .
dockerfile: ./nodejs/Dockerfile
environment:
USER_FETCH_URL: 'http://fake-oauth:8080/idp/userinfo.openid'
SECRETS: '{"mysupersecretkey":"123123123"}'
volumes:
- .:/app
ports:
- "3003:3003"
fake-oauth:
image: acando14/fake-oauth2
ports:
- "8080:8080"
logger:
image: acando14/logger-server:latest
ports:
- "8099:8099"