-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Test
committed
Sep 13, 2024
1 parent
39c2975
commit ce935b7
Showing
3 changed files
with
17 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.0.3-alpha | ||
1.0.4-alpha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,35 @@ | ||
services: | ||
web: | ||
build: . | ||
command: bash -c " | ||
export REDIS_URL=redis://redis:6379/1 && | ||
export SECRET_KEY_BASE=$(bin/rails secret) && | ||
rm -f tmp/pids/server.pid && | ||
bundle exec rake assets:precompile && | ||
bundle exec rails db:migrate && | ||
bundle exec rails server -b 0.0.0.0 -p 3000" | ||
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails server -b 0.0.0.0 -p 3000" | ||
entrypoint: ["./entrypoint.sh"] | ||
volumes: | ||
- .:/app | ||
- ./storage:/app/storage | ||
ports: | ||
- "3000:3000" | ||
environment: | ||
RAILS_ENV: production | ||
RAILS_ENV: development | ||
REDIS_URL: redis://redis:6379/1 | ||
depends_on: | ||
- redis | ||
|
||
worker: | ||
build: . | ||
command: bash -c " | ||
export REDIS_URL=redis://redis:6379/1 && | ||
export SECRET_KEY_BASE=$(bin/rails secret) && | ||
rm -f tmp/pids/server.pid && | ||
bundle exec rails db:migrate && | ||
bundle exec sidekiq" | ||
command: bundle exec sidekiq | ||
entrypoint: ["./sidekiq-entrypoint.sh"] | ||
volumes: | ||
- .:/app | ||
- ./storage:/app/storage | ||
environment: | ||
RAILS_ENV: production | ||
REDIS_URL: redis://redis:6379/1 | ||
RAILS_ENV: development | ||
depends_on: | ||
- redis | ||
|
||
redis: | ||
image: redis:7.2.5 | ||
image: redis:6.2.5 | ||
ports: | ||
- "6379:6379" | ||
|
||
volumes: | ||
db-data: | ||
db-data: |