-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (50 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
53 lines (50 loc) · 1.02 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
---
services:
arangodb:
image: arangodb:3.12@sha256:c7c73e4f2694d70dffcf4cea779ba60355e6563018550ea70bcb77ce8e35fb97
container_name: arangodb
environment:
ARANGO_ROOT_PASSWORD: mypassword
LANG: en
ports:
- "8529:8529"
volumes:
- ./db:/mnt/
networks:
- app-network
tty: true
go-app:
build:
context: ../pdvd-backend
dockerfile: Dockerfile
container_name: go-app
environment:
ARANGO_HOST: arangodb
ARANGO_PORT: "8529"
ARANGO_USER: root
ARANGO_PASS: mypassword
ARANGO_URL: http://arangodb:8529
MS_PORT: "3000"
ports:
- "3000:3000"
depends_on:
- arangodb
networks:
- app-network
node-app:
build:
context: ../pdvd-frontend
dockerfile: Dockerfile.Dev
container_name: node-app
environment:
NODE_ENV: production
ports:
- "4000:4000"
depends_on:
- arangodb
- go-app
networks:
- app-network
networks:
app-network:
driver: bridge