@@ -1,7 +1,7 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
Railsgoat::Application.configure do
|
Railsgoat::Application.configure do
|
||||||
# Settings specified here will take precedence over those in config/application.rb
|
# Settings specified here will take precedence over those in config/application.rb
|
||||||
config.hosts << '.svc.cluster.local'
|
config.hosts << ENV['COOLIFY_FQDN'] || 'localhost'
|
||||||
# In the development environment your application's code is reloaded on
|
# In the development environment your application's code is reloaded on
|
||||||
# every request. This slows down response time but is perfect for development
|
# every request. This slows down response time but is perfect for development
|
||||||
# since you don't have to restart the web server when you make code changes.
|
# since you don't have to restart the web server when you make code changes.
|
||||||
|
|||||||
@@ -5,12 +5,3 @@ services:
|
|||||||
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
|
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/myapp
|
- .:/myapp
|
||||||
environment:
|
|
||||||
- SERVICE_URL_TEAMALPHA=https://team-alpha.faded.digital
|
|
||||||
- SERVICE_FQDN_TEAMALPHA=team-alpha.faded.digital
|
|
||||||
- SERVICE_URL_TEAMALPHA_3000=https://team-alpha.faded.digital:3000
|
|
||||||
- SERVICE_FQDN_TEAMALPHA_3000=team-alpha.faded.digital:3000
|
|
||||||
- DOMAIN_NAME=${SERVICE_FQDN_TEAMALPHA}
|
|
||||||
- _APP_URL=$SERVICE_URL_TEAMALPHA
|
|
||||||
expose:
|
|
||||||
- "3000"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user