-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (55 loc) · 1.4 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
version: '3'
services:
parladata:
build: .
ports:
- 8000:8000
depends_on:
- db
environment:
PYTHONUNBUFFERED: 1
DJANGO_DEBUG: "yes"
DJANGO_SETTINGS_MODULE: parladata_project.settings.k8s
DJANGO_SECRET_KEY: make-me-secret
DJANGO_DATABASE_HOST: db
PARLADATA_URL: http://localhost:8000/v1
PARLALIZE_URL: http://localhost:8080/v1
ISCI_URL: http://localhost:8888/
PARLAMETER_URL: https://parlameter.si/
CARDS_URL: https://glej.parlameter.si/
NOTIFICATIONS_URL: https://obvestila.parlameter.si/
PARLAMETER_SOLR_URL: http://solr:8983/solr/parlasearch
PARLAMETER_ENABLE_S3: ""
PARLAMETER_AWS_ACCESS_KEY_ID: ""
PARLAMETER_AWS_SECRET_ACCESS_KEY: ""
PARLAMETER_AWS_STORAGE_BUCKET_NAME: "parlameter"
PARLAMETER_AWS_LOCATION: "dev"
DRF_RECAPTCHA_SITE_KEY: ""
DRF_RECAPTCHA_SECRET_KEY: ""
volumes:
- ./:/app
db:
image: postgres:latest
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: parladata
ports:
- 5432:5432
volumes:
- pgdata:/var/lib/postgresql/data
cache:
image: memcached
entrypoint:
- memcached
- -m 64
solr:
container_name: solr
build: ./solr
restart: always
ports:
- 8983:8983
volumes:
- ./solr/parlasearch-conf:/parlasearch-conf
volumes:
pgdata: