-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (48 loc) · 1.08 KB
/
Copy pathdocker-compose.yml
File metadata and controls
48 lines (48 loc) · 1.08 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
networks:
db_net:
driver: bridge
version: "3.7"
services:
mongodb:
ports:
- 27017:27017
container_name: mongodb
volumes:
- ./mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
environment:
MONGO_INITDB_DATABASE: dpg
MONGO_INITDB_ROOT_PASSWORD: root
MONGO_INITDB_ROOT_USERNAME: admin
restart: always
image: mongo:latest
command: --quiet
api:
container_name: api
ports:
- 8080:8080
build:
context: ./api
dockerfile: Dockerfile
ui:
container_name: ui
ports:
- 3000:3000
- 3001:3001
volumes:
- /app/node_modules
- ./ui:/app
stdin_open: true
build:
context: ./ui
dockerfile: Dockerfile
ciphertrust:
image: thalesciphertrust/ciphertrust-data-protection-gateway:latest
container_name: ciphertrust
environment:
- REG_TOKEN=IAw4nfHW4G7ph13JbmCYQolybBSo483Awq52rGsAvEhWOZbp5v9RNMbNYibfe3rt
- DESTINATION_URL=http://api:8080
- DPG_PORT=9005
- TLS_ENABLED=false
- KMS=40.121.32.75
ports:
- 9005:9005