Launch new Docker procfile from Docker Compose

This commit is contained in:
François Turbelin
2025-01-19 22:17:31 +01:00
parent 49e66c3d23
commit 39822e1761
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
# Foreman Procfile for Docker env. Start all dev server processes with: `bundle exec foreman start -f Procfile.docker`
rails: WEBPACKER_DEV_SERVER_HOST=0.0.0.0 DEV_CACHING=true bundle exec rails s -p 3000 -b 0.0.0.0
webpack: WEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server
sidekiq: DEV_CACHING=true bundle exec sidekiq -q mailers -q default
rails: WEBPACKER_DEV_SERVER_HOST=0.0.0.0 DEV_CACHING=true bundle exec rails s -p 3000 -b 0.0.0.0

View File

@@ -40,7 +40,7 @@ services:
(bundle check || bundle install) &&
bundle exec rake db:create &&
yarn install &&
tail -f log/development.log"
bundle exec foreman start -f Procfile.docker"
volumes:
gems:
postgres: