-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (48 loc) · 942 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (48 loc) · 942 Bytes
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
version: '3'
services:
main:
stdin_open: true
container_name: strpg-main
build:
context: .
dockerfile: Dockerfile
image: strpg-main
working_dir: /usr/src/app
volumes:
- .:/usr/src/app
- node_modules:/usr/src/app/node_modules
command: npm run start
restart: on-failure
environment:
NODE_ENV: development
ports:
- 8888:8888
secrets:
- main_secret
networks:
- webnet
dns:
- 8.8.8.8
depends_on:
- graphDB
graphDB:
container_name: strpg-graphDB
image: neo4j:4.2.7-enterprise
networks:
- webnet
environment:
NEO4J_ACCEPT_LICENSE_AGREEMENT: 'yes'
NEO4J_AUTH: 'neo4j/maestro-nectar-film-cycle-castle-8780'
ports:
- 7474:7474
- 7687:7687
volumes:
- graphDBData:/data
networks:
webnet:
volumes:
graphDBData:
node_modules:
secrets:
main_secret:
file: .env.json