This repository has been archived by the owner on Mar 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
82 lines (76 loc) · 1.79 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
version: '3'
services:
postgres:
image: postgres:12
container_name: icebreaker_postgres
networks:
- database
restart: unless-stopped
environment:
- POSTGRES_DB=icebreaker
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
ports:
- 6700:5432
backend:
image: icebreakerscience/backend:develop
container_name: icebreaker_backend
depends_on:
- postgres
networks:
- database
- backend
restart: unless-stopped
environment:
- SPRING_DATASOURCE_URL=jdbc:postgresql://icebreaker_postgres:5432/icebreaker
- SPRING_DATASOURCE_USERNAME=postgres
- SPRING_DATASOURCE_PASSWORD=postgres
- ICEBREAKER_JWTSECRET=secret
- MEDIA_DIR=/home/media/
- ICEBREAKER_NEO4J_HOST=neo4j
- ICEBREAKER_NEO4J_PORT=7687
volumes:
- ./media:/home/media
frontend:
image: icebreakerscience/frontend:develop
container_name: icebreaker_frontend
depends_on:
- backend
networks:
- frontend
restart: unless-stopped
nginx:
image: nginx
container_name: icebreaker_nginx
depends_on:
- frontend
- backend
networks:
- frontend
- backend
restart: unless-stopped
ports:
- "12100:80"
volumes:
- ./nginx-icebreaker.conf:/etc/nginx/conf.d/default.conf
- ./media:/home/media
neo4j:
image: neo4j:latest
container_name: icebreaker_neo4j
restart: unless-stopped
networks:
database:
aliases:
- neo4j
ports:
- 12220:7474 # HTTP / Web interface
- 12221:7687 # Bolt
environment:
NEO4J_AUTH: neo4j/elsa # The username cannot be changed.
volumes:
- ./neo4j_data:/data
- ./neo4j_import:/import
networks:
frontend:
backend:
database: