forked from turicas/brasil.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (43 loc) · 1.3 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
version: '3.2'
services:
db:
image: postgres:10.3
container_name: brasilio_postgres
env_file: .env
ports:
- "39001:5432"
volumes:
- ./docker/postgresql/postgresql.conf:/etc/postgresql/postgresql.conf
- ./docker/postgresql/data:/var/lib/postgresql/data
command: -c "config_file=/etc/postgresql/postgresql.conf"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 30s
retries: 3
graph_db:
image: neo4j:3.3
container_name: brasilio_neo4j
environment:
- NEO4J_AUTH=none
- NEO4J_dbms_connector_bolt_listen__address=0.0.0.0:7687
- NEO4J_dbms_connector_bolt_address=0.0.0.0:7687
- NEO4J_dbms_connectors_default__listen__address=0.0.0.0:7474
ports:
- "39002:7474"
- "39003:7687"
volumes:
- ./docker/neo4j/data/:/data/
mail:
image: mailhog/mailhog
container_name: brasilio_mailhog
env_file: .env
ports:
- "39004:1025"
- "39005:8025"
redis:
image: redis:alpine
hostname: brasilio_redis
ports:
- "39006:6379"
volumes:
- "./docker/redis/:/data/"