forked from techeer-sv/Mindspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (41 loc) · 882 Bytes
/
docker-compose.yml
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
version: '3'
services:
db:
image: postgres
container_name: postgres
restart: always
environment:
POSTGRES_DB: ${DB_DATABASE}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_PASSWORD: ${DB_PASSWORD}
PGDATA: /var/lib/postgresql/data/pgdata
TZ: Asia/Seoul
ports:
- '5432:5432'
volumes:
- ./:/var/lib/postgresql/data
neo4j:
container_name: neo4j
image: neo4j:latest
restart: always
environment:
NEO4J_AUTH: ${NEO4J_USERNAME}/${NEO4J_PASSWORD}
ports:
- '7474:7474'
- '7687:7687'
volumes:
- ./neo4j/data:/data
- ./neo4j/logs:/logs
backend:
container_name: nest
build:
context: ./Mindspace_back
dockerfile: Dockerfile
restart: always
environment:
- TZ=Asia/Seoul
ports:
- '8000:8000'
depends_on:
- db
- neo4j