diff --git a/Procfile b/Procfile index 7fdfacfa..3e18b944 100644 --- a/Procfile +++ b/Procfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 0620d171..9cd6f2c4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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