-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (44 loc) · 902 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (44 loc) · 902 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.9"
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
ports:
- "8000:8000"
volumes:
- ./backend:/app
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
command: npm run dev -- --hostname 0.0.0.0 --port 3000
ports:
- "3000:3000"
volumes:
- ./frontend:/app
depends_on:
- backend
postgres:
image: postgres:16
environment:
POSTGRES_USER: sci
POSTGRES_PASSWORD: sci
POSTGRES_DB: sci_feature
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
neo4j:
image: neo4j:5
environment:
NEO4J_AUTH: neo4j/password123
ports:
- "7474:7474"
- "7687:7687"
volumes:
- neo4jdata:/data
volumes:
pgdata:
neo4jdata: