Skip to content

Commit

Permalink
Move procfile commands to compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain committed Oct 20, 2023
1 parent 840a24b commit 5bd3211
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
puma: bin/rails server -p 9000 -b 0.0.0.0
frontend: esbuild app/typescript/application.ts --target=chrome111,firefox111,safari16 --bundle --sourcemap --outdir=public/build --loader:.png=file --watch=forever --color=true
good_job: bundle exec good_job --queues="scraping:1;e6_iqdb:1;variant_generation:5;default:1;submission_download:5"
puma: $RAILS_SERVER_EXEC
frontend: $ESBUILD_EXEC
good_job: $GOOD_JOB_EXEC
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ services:
image: reverser
environment:
<<: *common-env
RAILS_SERVER_EXEC: bin/rails server -p 9000 -b 0.0.0.0
ESBUILD_EXEC: esbuild app/typescript/application.ts --target=chrome111,firefox111,safari16 --bundle --sourcemap --outdir=public/build --loader:.png=file --watch=forever --color=true
GOOD_JOB_EXEC: bundle exec good_job --queues="scraping:1;e6_iqdb:1;variant_generation:5;default:1;submission_download:5"
volumes:
- .:/app
- build_assets:/app/public/build
Expand Down

0 comments on commit 5bd3211

Please sign in to comment.