forked from unicef/iogt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (59 loc) · 1.65 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
version: '3.5'
services:
django:
build:
context: ./
dockerfile: Dockerfile.dev
environment:
DB_NAME: postgres
DB_USER: postgres
DB_PASSWORD: iogt
DB_HOST: database
DB_PORT: '5432'
DJANGO_SETTINGS_MODULE: iogt.settings.docker_compose_dev
COMMIT_HASH: asdfghjkl
WAGTAILTRANSFER_SECRET_KEY: wagtailtransfer-secret-key
WAGTAILTRANSFER_SOURCE_NAME: iogt_global
WAGTAILTRANSFER_SOURCE_BASE_URL: https://example.com/wagtail-transfer/
WAGTAILTRANSFER_SOURCE_SECRET_KEY: wagtailtransfer-source-secret-key
BASE_URL: 'http://localhost:8000'
VAPID_PUBLIC_KEY: ''
VAPID_PRIVATE_KEY: ''
VAPID_ADMIN_EMAIL: ''
COMMENTS_COMMUNITY_MODERATION: 'enable'
COMMENT_MODERATION_CLASS: 'comments.clients.AlwaysApproveModerator'
BLACKLISTED_WORDS: ''
SUPERSET_BASE_URL: ''
SUPERSET_DATABASE_NAME: ''
SUPERSET_USERNAME: ''
SUPERSET_PASSWORD: ''
PUSH_NOTIFICATION: 'enable'
command: python manage.py runserver 0.0.0.0:8000
volumes:
- ./:/app/
ports:
- "8000:8000"
depends_on:
- elasticsearch
- database
elasticsearch:
image: 'docker.elastic.co/elasticsearch/elasticsearch:7.12.1'
environment:
- discovery.type=single-node
volumes:
- es-data01:/usr/share/elasticsearch/data
ports:
- "9200:9200"
database:
image: postgres:alpine
restart: unless-stopped
environment:
POSTGRES_PASSWORD: iogt
volumes:
- pg-data01:/var/lib/postgresql/data
- ./initdb.d:/docker-entrypoint-initdb.d
ports:
- 5432:5432
volumes:
es-data01:
pg-data01: