Skip to content

Commit

Permalink
set specific node ports
Browse files Browse the repository at this point in the history
  • Loading branch information
vintikzzz committed Jan 13, 2022
1 parent a947d46 commit 06afed0
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.deploy
.DS_Store
.vagrant
4 changes: 2 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Vagrant.configure("2") do |config|
# within the machine from a port on the host machine and only allow access
# via 127.0.0.1 to disable public access

# config.vm.network "forwarded_port", guest: 32476, host: 32476, host_ip: "127.0.0.1"
# config.vm.network "forwarded_port", guest: 30062, host: 30062, host_ip: "127.0.0.1"
config.vm.network "forwarded_port", guest: 30180, host: 30180, host_ip: "127.0.0.1"
config.vm.network "forwarded_port", guest: 30151, host: 30151, host_ip: "127.0.0.1"

# Create a private network, which allows host-only access to the machine
# using a specific IP.
Expand Down
2 changes: 1 addition & 1 deletion charts/torrent-http-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.0"
description: A Torrent HTTP Proxy Chart
name: torrent-http-proxy
version: 0.1.21
version: 0.1.22
2 changes: 2 additions & 0 deletions charts/torrent-http-proxy/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ spec:
targetPort: http
protocol: TCP
name: http
nodePort: 30180
- port: {{ .Values.service.ports.grpc }}
targetPort: grpc
protocol: TCP
name: grpc
nodePort: 30151
- port: {{ .Values.service.ports.httpprom }}
targetPort: httpprom
protocol: TCP
Expand Down
3 changes: 1 addition & 2 deletions helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ releases:
- name: torrent-http-proxy
namespace: webtor
chart: webtor/torrent-http-proxy
version: 0.1.21
version: 0.1.22
missingFileHandler: Warn
values:
- clients.yaml
Expand All @@ -68,6 +68,5 @@ releases:
image: webtor/content-transcoder:0.1.2
- service:
type: NodePort
port: 8080
- image:
tag: 0.1.2
9 changes: 9 additions & 0 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,15 @@ entries:
- https://github.com/webtor-io/helm-charts/releases/download/torrent-cache-cleaner-0.1.0/torrent-cache-cleaner-0.1.0.tgz
version: 0.1.0
torrent-http-proxy:
- apiVersion: v1
appVersion: "1.0"
created: "2022-01-13T13:59:57.838878+03:00"
description: A Torrent HTTP Proxy Chart
digest: 0eafe26759f207bd711e6d75a91af162b76ddbbb11b8e9f2220ce69d9d80a299
name: torrent-http-proxy
urls:
- https://github.com/webtor-io/helm-charts/releases/download/torrent-http-proxy-0.1.22/torrent-http-proxy-0.1.22.tgz
version: 0.1.22
- apiVersion: v1
appVersion: "1.0"
created: "2022-01-13T13:15:17.056902+03:00"
Expand Down

0 comments on commit 06afed0

Please sign in to comment.