Merge pull request #1205 from basecamp/load-balancer
Move load-balancer to its own hosts
This commit is contained in:
+12
-2
@@ -39,11 +39,21 @@ accessories:
|
||||
|
||||
load-balancer:
|
||||
image: basecamp/kamal-proxy:lb
|
||||
roles:
|
||||
- web
|
||||
host: fizzy-beta-lb-01
|
||||
options:
|
||||
publish:
|
||||
- 80:80
|
||||
- 443:443
|
||||
volumes:
|
||||
- load-balancer:/home/kamal-proxy/.config/kamal-proxy
|
||||
|
||||
otel_collector-load-balancer:
|
||||
image: otel/opentelemetry-collector-contrib:0.126.0
|
||||
port: 9394
|
||||
files:
|
||||
- config/otel_collector.yml:/etc/otelcol-contrib/config.yaml
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
options:
|
||||
user: 0
|
||||
host: fizzy-beta-lb-01
|
||||
|
||||
@@ -39,11 +39,21 @@ accessories:
|
||||
|
||||
load-balancer:
|
||||
image: basecamp/kamal-proxy:lb
|
||||
roles:
|
||||
- web
|
||||
host: fizzy-lb-101
|
||||
options:
|
||||
publish:
|
||||
- 80:80
|
||||
- 443:443
|
||||
volumes:
|
||||
- load-balancer:/home/kamal-proxy/.config/kamal-proxy
|
||||
|
||||
otel_collector-load-balancer:
|
||||
image: otel/opentelemetry-collector-contrib:0.126.0
|
||||
port: 9394
|
||||
files:
|
||||
- config/otel_collector.yml:/etc/otelcol-contrib/config.yaml
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
options:
|
||||
user: 0
|
||||
host: fizzy-lb-101
|
||||
|
||||
@@ -39,11 +39,21 @@ accessories:
|
||||
|
||||
load-balancer:
|
||||
image: basecamp/kamal-proxy:lb
|
||||
roles:
|
||||
- web
|
||||
host: fizzy-staging-lb-01
|
||||
options:
|
||||
publish:
|
||||
- 80:80
|
||||
- 443:443
|
||||
volumes:
|
||||
- load-balancer:/home/kamal-proxy/.config/kamal-proxy
|
||||
|
||||
otel_collector-load-balancer:
|
||||
image: otel/opentelemetry-collector-contrib:0.126.0
|
||||
port: 9394
|
||||
files:
|
||||
- config/otel_collector.yml:/etc/otelcol-contrib/config.yaml
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
options:
|
||||
user: 0
|
||||
host: fizzy-staging-lb-01
|
||||
|
||||
Reference in New Issue
Block a user