-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yaml
72 lines (65 loc) · 1.28 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: "3.9"
volumes:
redis_data:
services:
redis:
image: redis
container_name: "redis"
restart: always
ports:
- "6379:6379"
networks:
- dapi-network
volumes:
- redis_data:/data:rw
devportal:
image: nginx-declarative-api-devportal
build:
context: ../devportal/redocly
dockerfile: Dockerfile
user: "${USERID}:${USERGROUP}"
container_name: "devportal"
restart: always
ports:
- "5001:5000"
networks:
- dapi-network
nap-compiler:
profiles:
- nap
image: nginx-declarative-api-nap-compiler
build:
context: ../app-protect
dockerfile: Dockerfile
secrets:
- nginx-crt
- nginx-key
args:
VERSION_TAG: "${NAP_COMPILER_TAG}"
container_name: "nap-compiler"
restart: always
ports:
- "5002:5000"
networks:
- dapi-network
nginx-dapi:
image: nginx-declarative-api
build:
context: ../../
dockerfile: Dockerfile
user: "${USERID}:${USERGROUP}"
container_name: "nginx-dapi"
restart: always
depends_on:
- redis
ports:
- "5000:5000"
networks:
- dapi-network
networks:
dapi-network:
secrets:
nginx-crt:
file: ${NGINX_CERT}
nginx-key:
file: ${NGINX_KEY}