-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
61 lines (56 loc) · 1.23 KB
/
docker-compose.yaml
File metadata and controls
61 lines (56 loc) · 1.23 KB
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
volumes:
redis_data:
services:
redis:
image: redis
container_name: "redis"
restart: always
ports:
- "${REDIS_PORT:-6379}:6379"
networks:
- dapi-network
volumes:
- redis_data:/data:rw
devportal:
image: ghcr.io/f5devcentral/nginx-declarative-api-devportal
build:
context: ../devportal/redocly
dockerfile: Dockerfile
user: "${USERID}:${USERGROUP}"
container_name: "devportal"
restart: always
ports:
- "${DEVPORTAL_PORT:-5001}:5000"
networks:
- dapi-network
nginx-dapi:
image: ghcr.io/f5devcentral/nginx-declarative-api
build:
context: ../../
dockerfile: Dockerfile
user: "${USERID}:${USERGROUP}"
container_name: "nginx-dapi"
restart: always
depends_on:
- redis
ports:
- "${DAPI_PORT:-5000}:5000"
networks:
- dapi-network
webui:
image: ghcr.io/f5devcentral/nginx-declarative-api-webui
build:
context: ../../webui
dockerfile: Dockerfile
container_name: "nginx-dapi-webui"
restart: always
depends_on:
- nginx-dapi
environment:
- DAPI_PORT=5000
ports:
- "${WEBUI_PORT:-3000}:8080"
networks:
- dapi-network
networks:
dapi-network: