-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (39 loc) · 929 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
version: '2.4'
services:
hisab-kitab-app:
build:
context: ./
dockerfile: Dockerfile
target: dev
image: hisab-kitab:dev
container_name: hisab-kitab-app
restart: unless-stopped
volumes:
- ./:/usr/src/app/
- dependencies:/usr/src/app/node_modules
depends_on:
- hisab-kitab-db
environment:
DATABASE_NAME: 'hisabkitab'
DATABASE_USER: 'root'
DATABASE_PASS: 'hisabkitab'
DATABASE_URL: 'http://hisab-kitab-db:8529'
NODE_ENV: development
ports:
- '3000:3000'
- '9229:9229'
hisab-kitab-db:
image: arangodb:3.6.2
container_name: hisab-kitab-db
restart: unless-stopped
environment:
ARANGO_ROOT_PASSWORD: hisabkitab
volumes:
- arangodb_data:/var/lib/arangodb3
- arangodb_apps:/var/lib/arangodb3-apps
ports:
- '8529:8529'
volumes:
arangodb_data:
arangodb_apps:
dependencies: