-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.tpl
51 lines (51 loc) · 1.71 KB
/
docker-compose.yml.tpl
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
---
version: "2"
services:
db:
image: postgres:12.0-alpine
environment:
- POSTGRES_USER=
- POSTGRES_PASSWORD=
- POSTGRES_DB=
expose:
- "5432"
web:
image: mneiding/evy_light:latest
command: gunicorn evy_light.wsgi:application --bind 0.0.0.0:8000
ports:
- 80:8000
environment:
- DJANGO_SECRET_KEY=
- DJANGO_DEBUG=0
- DJANGO_ALLOWED_HOSTS=*
- DJANGO_DATABASE=postgres
- DJANGO_SQL_ENGINE=django.db.backends.postgresql
- DJANGO_SQL_HOST=db
- DJANGO_SQL_PORT=5432
- DJANGO_SUPER_USER=
- DJANGO_SUPER_USER_PASS=
- POSTGRES_USER=
- POSTGRES_PASSWORD=
- POSTGRES_DB=
- WEBEX_ACCESS_TOKEN=
links:
- db:db
notifier:
image: mneiding/evy_light:latest
command: python3 manage.py schedule_tasks && python3 manage.py process_tasks
environment:
- DJANGO_SECRET_KEY=
- DJANGO_DEBUG=0
- DJANGO_ALLOWED_HOSTS=*
- DJANGO_DATABASE=postgres
- DJANGO_SQL_ENGINE=django.db.backends.postgresql
- DJANGO_SQL_HOST=db
- DJANGO_SQL_PORT=5432
- DJANGO_SUPER_USER=
- DJANGO_SUPER_USER_PASS=
- POSTGRES_USER=
- POSTGRES_PASSWORD=
- POSTGRES_DB=
- WEBEX_ACCESS_TOKEN=
links:
- db:db