use default parameters

Reduces the initial setup barrier
This commit is contained in:
Vri 🌈 2023-05-02 10:31:13 +02:00
parent 2a39a2d454
commit dd8c3d9211
Signed by: vrifox
GPG key ID: D40098E5B60B2197

View file

@ -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: