-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (47 loc) · 953 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
45
46
47
48
services:
cap-client:
build:
context: .
dockerfile: dockerfiles/cap-client
ports:
- "3000:3000"
simple-api:
build:
context: .
dockerfile: dockerfiles/simple-api
ports:
- "8080:8080"
depends_on:
- as-api
as-api:
build:
context: .
dockerfile: dockerfiles/gnap-as
ports:
- "8000:8000"
- "9433:9433"
depends_on:
- redis-poc
- monogodb-poc
redis-poc:
image: redis:alpine
container_name: redis-poc
volumes:
- ./gnap/data/redis:/data
ports:
- 6379:6379
mongodb-poc:
image : mongo:5
container_name: mongodb-poc
depends_on:
- redis-poc
environment:
- PUID=1000
- PGID=1000
- MONGO_INITDB_DATABASE=gnap
volumes:
- ./gnap/data/mongodb/database:/data/db
- ./gnap/mongodb-init/:/docker-entrypoint-initdb.d/:ro
ports:
- 27017:27017
restart: unless-stopped