This repository has been archived by the owner on Feb 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
126 lines (119 loc) · 2.68 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
version: "2"
services:
app:
build: .
command:
- python
- manage.py
- runserver
- "0.0.0.0:8080"
ports:
- 20966:8080
environment:
DATABASE_URL: "postgres://postgres:postgres@postgres/postgres"
GCP_SERVICE_KEY:
SECRET_KEY:
SENTRY_DSN:
SENTRY_PUBLIC_DSN:
ZOO_AUDITING_CHECKS: dummy_standards
ZOO_DEBUG: "1"
ZOO_GITHUB_TOKEN:
ZOO_GITLAB_TOKEN:
ZOO_GITLAB_URL:
ZOO_PAGERDUTY_URL:
ZOO_REMOTE_DATA_OWNERS:
ZOO_SENTRY_ORGANIZATION:
ZOO_SENTRY_URL:
ZOO_SLACK_URL:
ZOO_SONARQUBE_TOKEN:
ZOO_SONARQUBE_URL:
ZOO_SYNC_REPOS_SKIP_FORKS:
ZOO_SYNC_REPOS_SKIP_PERSONAL:
WEB_CONCURRENCY:
tty: true
volumes:
- ./zoo:/app/zoo
depends_on:
- postgres
- webpack
- redis
restart: on-failure
webpack:
build: webpack
volumes:
- ./zoo/:/app/source
- ./webpack/config:/app/config
command: ["yarn", "development"]
postgres:
image: postgres:12-alpine
volumes:
- ./postgres-data:/var/lib/postgresql/data:z
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"
ports:
- 25966:5432
redis:
image: redis:4.0-alpine
ports:
- 26966:6379
scheduler:
build: .
command:
[celery, beat, -A, zoo, -S, redbeat.RedBeatScheduler, --pidfile, ""]
environment:
ZOO_DEBUG: "1"
SECRET_KEY:
volumes:
- ./zoo:/app/zoo
- /tmp/celerybeat-schedule:/tmp/celerybeat-schedule
depends_on:
- redis
restart: on-failure
worker:
build: .
command: [celery, worker, -A, zoo]
environment:
DATABASE_URL: "postgres://postgres:postgres@postgres/postgres"
GCP_SERVICE_KEY:
ZOO_AUDITING_CHECKS: dummy_standards
ZOO_DATADOG_API_KEY:
ZOO_DATADOG_APP_KEY:
ZOO_DEBUG: "1"
ZOO_GITHUB_TOKEN:
ZOO_GITLAB_DB_URL:
ZOO_GITLAB_TOKEN:
ZOO_GITLAB_URL:
ZOO_PAGERDUTY_URL:
ZOO_PINGDOM_APP_KEY:
ZOO_PINGDOM_EMAIL:
ZOO_PINGDOM_PASS:
ZOO_REMOTE_DATA_OWNERS:
ZOO_SENTRY_API_KEY:
ZOO_SENTRY_ORGANIZATION:
ZOO_SENTRY_URL:
ZOO_SONARQUBE_TOKEN:
ZOO_SONARQUBE_URL:
ZOO_SYNC_REPOS_SKIP_FORKS:
ZOO_SYNC_REPOS_SKIP_PERSONAL:
SENTRY_PUBLIC_DSN:
SENTRY_DSN:
SECRET_KEY:
depends_on:
- postgres
- redis
volumes:
- ./zoo:/app/zoo
restart: on-failure
meilisearch:
image: getmeili/meilisearch
container_name: meilisearch
restart: on-failure
volumes:
- meilidata:/data.ms
environment:
MEILI_MASTER_KEY: "meili"
ports:
- 7700:7700
volumes:
meilidata:
driver: local