mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 07:43:13 +01:00
Merge pull request #74 from vrifox/use-default-parameters
Container: Use default parameters
This commit is contained in:
commit
70c5d88cd0
1 changed files with 3 additions and 3 deletions
|
@ -10,8 +10,8 @@ services:
|
|||
links:
|
||||
- elasticsearch
|
||||
environment:
|
||||
- ELASTICSEARCH_URL=http://elasticsearch:9200
|
||||
- APPLICATION_HOST=$APPLICATION_HOST
|
||||
- ELASTICSEARCH_URL=${ELASTICSEARCH_URL:-http://elasticsearch:9200}
|
||||
- APPLICATION_HOST=${APPLICATION_HOST:-localhost}
|
||||
- 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"
|
||||
elasticsearch:
|
||||
|
@ -24,7 +24,7 @@ services:
|
|||
ports:
|
||||
- "9215:9200"
|
||||
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
|
||||
command: sh -c "/usr/share/elasticsearch/bin/elasticsearch"
|
||||
elastichq:
|
||||
|
|
Loading…
Reference in a new issue