adiciona views, templates, urls e documentos do elastic search
This commit is contained in:
@ -1,9 +1,18 @@
|
||||
volumes:
|
||||
diarios_oficiais_alems_local_postgres_data: {}
|
||||
diarios_oficiais_alems_local_postgres_data_backups: {}
|
||||
|
||||
esdata:
|
||||
|
||||
services:
|
||||
elasticsearch:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.0
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
ports:
|
||||
- "9200:9200"
|
||||
volumes:
|
||||
- esdata:/usr/share/elasticsearch/data
|
||||
|
||||
django:
|
||||
build:
|
||||
context: .
|
||||
@ -18,7 +27,7 @@ services:
|
||||
- ./.envs/.local/.django
|
||||
- ./.envs/.local/.postgres
|
||||
ports:
|
||||
- '8000:8000'
|
||||
- '8005:8005'
|
||||
command: /start
|
||||
|
||||
postgres:
|
||||
@ -32,3 +41,17 @@ services:
|
||||
- diarios_oficiais_alems_local_postgres_data_backups:/backups
|
||||
env_file:
|
||||
- ./.envs/.local/.postgres
|
||||
|
||||
elasticsearch:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:8.17.3
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
- xpack.security.enabled=false
|
||||
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
||||
ports:
|
||||
- "9200:9200"
|
||||
volumes:
|
||||
- esdata:/usr/share/elasticsearch/data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user