forked from hedonhermdev/pathways
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
48 lines (46 loc) · 914 Bytes
/
docker-compose.yaml
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
version: '3'
services:
neo4j:
container_name: "pathways_neo4j"
image: neo4j:4.0.4
env_file:
- ./neo4j.env
ports:
- "7474:7474"
- "7473:7473"
- "7687:7687"
volumes:
- neo4j_data:/data
server:
container_name: "pathways_server"
build: ./server
env_file: ./server/config.env
ports:
- "3003:3000"
volumes:
- ./server:/home/node/app
depends_on:
- neo4j
client:
container_name: "pathways_client"
build: ./client
env_file: ./client/config.env
ports:
- "3000:3000"
volumes:
- react_build:/app/build
nginx:
container_name: "pathways_nginx"
image: nginx:mainline-alpine
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx:/etc/nginx/conf.d
- react_build:/var/www/html
depends_on:
- server
- client
volumes:
neo4j_data:
react_build: