forked from josejuanmartinez/openedgar
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
86 lines (77 loc) · 2.57 KB
/
docker-compose.yaml
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
83
84
85
version: "3.2"
services:
db:
image: postgres:latest
restart: always
ports:
- 5432:5432
environment:
POSTGRES_USER: openedgar
POSTGRES_PASSWORD: openedgar
POSTGRES_DB: openedgar
networks:
- djangonetwork
healthcheck:
test: ["CMD-SHELL", "pg_isready -U openedgar"]
interval: 5s
timeout: 5s
retries: 5
volumes:
- db_data:/var/lib/postgresql/data
rabbitmq:
image: rabbitmq:3-management-alpine
restart: always
ports:
- 5672:5672
- 15672:15672
volumes:
- rabbitmq_data:/var/lib/rabbitmq/
- rabbitmq_log:/var/log/rabbitmq
networks:
- djangonetwork
environment:
RABBITMQ_DEFAULT_USER: openedgar
RABBITMQ_DEFAULT_PASS: openedgar
RABBITMQ_DEFAULT_VHOST: openedgar
openedgar:
image: jjmcarrascosa/openedgar
restart: always
depends_on:
db:
condition: service_healthy
links:
- db:db
- rabbitmq
networks:
- djangonetwork
volumes:
- openedgar:/opt/openedgar/lexpredict_openedgar/edgar
pgadmin:
image: dpage/pgadmin4
restart: always
ports:
- 3333:80
environment:
PGADMIN_DEFAULT_EMAIL: juan@johnsnowlabs.com
PGADMIN_DEFAULT_PASSWORD: changeme
links:
- db:db
networks:
- djangonetwork
adminer:
image: adminer
restart: always
ports:
- 8080:8080
links:
- db:db
networks:
- djangonetwork
networks:
djangonetwork:
driver: bridge
volumes:
rabbitmq_data:
rabbitmq_log:
db_data:
openedgar: