mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
use default parameters
Reduces the initial setup barrier
This commit is contained in:
parent
2a39a2d454
commit
dd8c3d9211
1 changed files with 3 additions and 3 deletions
|
@ -10,8 +10,8 @@ services:
|
||||||
links:
|
links:
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
environment:
|
environment:
|
||||||
- ELASTICSEARCH_URL=http://elasticsearch:9200
|
- ELASTICSEARCH_URL=${ELASTICSEARCH_URL:-http://elasticsearch:9200}
|
||||||
- APPLICATION_HOST=$APPLICATION_HOST
|
- APPLICATION_HOST=${APPLICATION_HOST:-localhost}
|
||||||
- SHARED_IMPORT_SECRET=$SHARED_IMPORT_SECRET
|
- SHARED_IMPORT_SECRET=$SHARED_IMPORT_SECRET
|
||||||
command: sh -c "cd /home/srm/app && export PATH=/home/srm/.rbenv/bin:$PATH && eval \"$(~/.rbenv/bin/rbenv init -)\" && bundle install && bundle exec puma -C config/puma.rb"
|
command: sh -c "cd /home/srm/app && export PATH=/home/srm/.rbenv/bin:$PATH && eval \"$(~/.rbenv/bin/rbenv init -)\" && bundle install && bundle exec puma -C config/puma.rb"
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
|
@ -24,7 +24,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "9215:9200"
|
- "9215:9200"
|
||||||
volumes:
|
volumes:
|
||||||
- $ESDATA:/usr/share/elasticsearch/data //read, write and execute
|
- ${ESDATA:-esdata}:/usr/share/elasticsearch/data //read, write and execute
|
||||||
- ./docker/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
|
- ./docker/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
|
||||||
command: sh -c "/usr/share/elasticsearch/bin/elasticsearch"
|
command: sh -c "/usr/share/elasticsearch/bin/elasticsearch"
|
||||||
elastichq:
|
elastichq:
|
||||||
|
|
Loading…
Reference in a new issue