-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (50 loc) · 1.37 KB
/
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
49
50
51
52
version: '3.9'
services:
config-svc-be:
build:
context: .
dockerfile: Dockerfile
ports:
- "3007:3007"
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules
environment:
- AUTH_N_SVC_BASEURL=http://localhost:3201
- AUTHORIZATION_BASEURL=http://localhost:3202
- AUTH_N_TOKEN_ISSUER_NAME=mojaloop.vnext.dev.default_issuer
- AUTH_N_TOKEN_AUDIENCE=mojaloop.vnext.dev.default_audience
- KAFKA_URL=localhost:9092
- BC_NAME=security-bc
- APP_NAME=lextego-svc
- APP_VERSION=0.5.5
- SVC_CLIENT_ID=lextego-svc
- SVC_CLIENT_SECRET=lextego-secret
- DATABASE_HOST=http://arangodb:8529
- DATABASE_USERNAME=root
- DATABASE_PASSWORD=password
- DATABASE_NAME=test # Specify the database name here
depends_on:
- "arangodb"
networks:
- config-svc-be-network
arangodb:
image: arangodb/arangodb
restart: unless-stopped
ports:
- "8529:8529"
environment:
- DATABASE_PASSWORD=password
volumes:
- ./arangodb-data:/var/lib/arangodb3 # Mounts a local directory as a volume
healthcheck:
test: [ "CMD", "curl", "-f", "http://arangodb:8529" ]
interval: 10s
timeout: 10s
retries: 10
networks:
- config-svc-be-network
networks:
config-svc-be-network:
external:
name: config-svc-be-network