-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 851 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 851 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
services:
neo4j:
image: neo4j:latest
volumes:
- neo4j-data:/data
environment:
- NEO4J_AUTH
ports:
- "7474:7474"
- "7687:7687"
restart: always
postgres:
image: postgres:18
volumes:
- postgres-volume:/var/lib/postgresql
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB=as1db
ports:
- "5432:5432"
restart: always
backend:
build:
context: ./backend
dockerfile: ./Dockerfile
environment:
- DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432
- BIND_ADDRESS=0.0.0.0:3000
ports:
- "3000:3000"
command: "as1db"
depends_on:
postgres:
condition: service_started
restart: always
profiles:
- backend
volumes:
neo4j-data:
postgres-volume: