This repository has been archived by the owner on Nov 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
136 lines (133 loc) · 2.99 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
version: '2'
services:
# PostgreSQL
waldur-db:
container_name: waldur-db
image: 'bitnami/postgresql:latest'
networks:
- waldur
environment:
- POSTGRESQL_USERNAME=waldur
- POSTGRESQL_PASSWORD
- POSTGRESQL_DATABASE=waldur
volumes:
- 'waldur_db:/bitnami'
# Redis
waldur-queue:
container_name: waldur-queue
image: 'bitnami/redis:latest'
networks:
- waldur
environment:
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- 'waldur_queue:/bitnami'
# Elasticsearch
waldur-events:
container_name: waldur-events
image: 'bitnami/elasticsearch:latest'
networks:
- waldur
volumes:
- 'waldur_events:/bitnami'
# Logstash
waldur-logs:
container_name: waldur-logs
image: 'docker.elastic.co/logstash/logstash:5.6.0'
networks:
- waldur
environment:
- XPACK_MONITORING_ENABLED=false
volumes:
- 'waldur_logs_pipeline:/usr/share/logstash/pipeline'
- 'waldur_logs_settings:/usr/share/logstash/config'
# Postfix
waldur-smtp:
container_name: waldur-smtp
image: 'eeacms/postfix:latest'
networks:
- waldur
environment:
- MTP_HOST=demo.waldur.com
# Celery
waldur-mastermind-worker:
container_name: waldur-mastermind-worker
image: 'opennode/waldur-mastermind:latest'
networks:
- waldur
environment:
- GLOBAL_SECRET_KEY
- POSTGRESQL_PASSWORD
depends_on:
- waldur-db
- waldur-queue
- waldur-events
- waldur-logs
- waldur-smtp
command: worker
# Celery-beat
waldur-mastermind-beat:
container_name: waldur-mastermind-beat
image: 'opennode/waldur-mastermind:latest'
networks:
- waldur
environment:
- GLOBAL_SECRET_KEY
- POSTGRESQL_PASSWORD
depends_on:
- waldur-mastermind-worker
command: beat
# MasterMind uwsgi
waldur-mastermind-uwsgi:
container_name: waldur-mastermind-uwsgi
image: 'opennode/waldur-mastermind:latest'
networks:
- waldur
environment:
- GLOBAL_SECRET_KEY
- POSTGRESQL_PASSWORD
depends_on:
- waldur-mastermind-beat
command: mastermind
# MasterMind API
waldur-mastermind-api:
container_name: waldur-mastermind-api
image: 'bitnami/nginx:latest'
labels:
kompose.service.type: nodeport
ports:
- '8080:8080'
networks:
- waldur
volumes:
- 'waldur_mastermind_api:/bitnami'
depends_on:
- waldur-mastermind-uwsgi
# HomePort
waldur-homeport:
container_name: waldur-homeport
image: 'opennode/waldur-homeport:latest'
labels:
kompose.service.type: nodeport
ports:
- '80:80'
networks:
- waldur
depends_on:
- waldur-mastermind-api
networks:
waldur:
external: true
volumes:
waldur_db:
driver: local
waldur_queue:
driver: local
waldur_events:
driver: local
waldur_logs_pipeline:
external: true
waldur_logs_settings:
external: true
waldur_mastermind_api:
external: true