Merge pull request #76 from vrifox/fix-command

Container: Fix web command
This commit is contained in:
Jörg Reichert 2023-05-03 19:08:14 +02:00 committed by GitHub
commit d961bcca0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ services:
- ELASTICSEARCH_URL=${ELASTICSEARCH_URL:-http://elasticsearch:9200} - ELASTICSEARCH_URL=${ELASTICSEARCH_URL:-http://elasticsearch:9200}
- APPLICATION_HOST=${APPLICATION_HOST:-localhost} - 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 && bundle install && bundle exec puma -C config/puma.rb"
elasticsearch: elasticsearch:
user: elasticsearch user: elasticsearch
build: ./docker/elasticsearch build: ./docker/elasticsearch