mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
(wip) rewrite dockerfile
This commit is contained in:
parent
0e72ac66c8
commit
bc541dc0fa
3 changed files with 19 additions and 32 deletions
|
@ -7,7 +7,7 @@ services:
|
|||
args:
|
||||
- USER_ID=${USER_ID:-1000}
|
||||
volumes:
|
||||
- .:/app
|
||||
- .:/home/srm/app/
|
||||
ports:
|
||||
- "3000:3000"
|
||||
links:
|
||||
|
@ -16,7 +16,7 @@ services:
|
|||
- 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 && bundle install && bundle exec puma -C config/puma.rb"
|
||||
command: ls -lah /home/srm/
|
||||
elasticsearch:
|
||||
user: elasticsearch
|
||||
build: ./docker/elasticsearch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue