mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-09 08:47:11 -05:00
Bind to both IPv6 and IPv4 interfaces by default
As discussed in https://github.com/Freika/dawarich/issues/498 - not tested as there appears to be no scaffolding to test this functionality?
This commit is contained in:
parent
e5b7cc1619
commit
9a2267abf4
4 changed files with 6 additions and 5 deletions
|
|
@ -1 +1 @@
|
||||||
web: bin/rails server -p 3000 -b 0.0.0.0
|
web: bin/rails server -p 3000 -b ::
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
prometheus_exporter: bundle exec prometheus_exporter -b 0.0.0.0
|
prometheus_exporter: bundle exec prometheus_exporter -b ANY
|
||||||
web: bin/rails server -p 3000 -b 0.0.0.0
|
web: bin/rails server -p 3000 -b ::
|
||||||
|
|
@ -50,7 +50,7 @@ if ENV['PROMETHEUS_EXPORTER_ENABLED'].to_s == 'true'
|
||||||
|
|
||||||
before_fork do
|
before_fork do
|
||||||
PrometheusExporter::Client.default = PrometheusExporter::Client.new(
|
PrometheusExporter::Client.default = PrometheusExporter::Client.new(
|
||||||
host: ENV.fetch('PROMETHEUS_EXPORTER_HOST', '0.0.0.0'),
|
host: ENV.fetch('PROMETHEUS_EXPORTER_HOST', 'ANY'),
|
||||||
port: ENV.fetch('PROMETHEUS_EXPORTER_PORT', 9394)
|
port: ENV.fetch('PROMETHEUS_EXPORTER_PORT', 9394)
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
- Working Postgres and Redis instances. In this example Postgres lives in 'db' namespace and Redis in 'redis' namespace.
|
- Working Postgres and Redis instances. In this example Postgres lives in 'db' namespace and Redis in 'redis' namespace.
|
||||||
- Ngingx ingress controller with Letsencrypt integeation.
|
- Ngingx ingress controller with Letsencrypt integeation.
|
||||||
- This example uses 'example.com' as a domain name, you want to change it to your own.
|
- This example uses 'example.com' as a domain name, you want to change it to your own.
|
||||||
|
- This will work on IPv4 and IPv6 Single Stack clusters, as well as Dual Stack deployments.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|
@ -149,7 +150,7 @@ spec:
|
||||||
command:
|
command:
|
||||||
- "dev-entrypoint.sh"
|
- "dev-entrypoint.sh"
|
||||||
args:
|
args:
|
||||||
- "bin/rails server -p 3000 -b 0.0.0.0"
|
- "bin/rails server -p 3000 -b ::"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "1Gi"
|
memory: "1Gi"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue