-
Notifications
You must be signed in to change notification settings - Fork 3
/
dev.yml
40 lines (40 loc) · 1.01 KB
/
dev.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
version: '3.9'
services:
db:
ports:
- "127.0.0.1:5437:5432"
volumes:
- ./deploy/conf/postgres_password:/run/secrets/catalog_db_password
elasticsearch:
environment:
- bootstrap.memory_lock=true
ports:
- "127.0.0.1:9200:9200"
django:
build:
args:
RUN_SCRIPT: "./deploy/docker/dev.sh"
context: ./
dockerfile: ./deploy/images/django.Dockerfile
image: comses/catalog/dev:latest
environment:
DJANGO_SETTINGS_MODULE: 'catalog.settings.dev'
ports:
- "127.0.0.1:8000:8000"
- "127.0.0.1:5006:5006"
volumes:
- ./deploy/conf/config.ini:/run/secrets/catalog_django_config
- ./docker/shared:/shared
- .:/code
kibana:
depends_on:
- elasticsearch
image: docker.elastic.co/kibana/kibana:6.6.2
ports:
- "127.0.0.1:5601:5601"
solr:
ports:
- "127.0.0.1:8983:8983"
volumes:
- ./deploy/solr/conf:/catalog-solr-conf
- ./deploy/solr/init.d/solr.in.sh:/opt/solr/bin/solr.in.sh