chore(): disable all ports except of 80

This commit is contained in:
ITQ
2026-02-24 22:42:00 +03:00
parent 283fb51a25
commit 6a5007d039
4 changed files with 71 additions and 70 deletions
+12 -11
View File
@@ -1,19 +1,20 @@
# Base
RUSTFS_API_PORT=14602
RUSTFS_CONSOLE_PORT=14601
# RUSTFS_API_PORT=14602
# RUSTFS_CONSOLE_PORT=14601
# Observability
GRAFANA_PORT=14603
GRAFANA_ALLOY_PORT=14606
PGADMIN_PORT=14604
VICTORIAMETRICS_PORT=14605
OTEL_GRPC_PORT=14607
OTEL_HTTP_PORT=14608
GRAFANA_PYROSCOPE_PORT=14611
# GRAFANA_PORT=14603
# GRAFANA_ALLOY_PORT=14606
# PGADMIN_PORT=14604
# VICTORIAMETRICS_PORT=14605
# OTEL_GRPC_PORT=14607
# OTEL_HTTP_PORT=14608
# GRAFANA_PYROSCOPE_PORT=14611
# Backend
DJANGO_PORT=14609
DJANGO_STATICFILES_PORT=14610
# DJANGO_PORT=14609
# DJANGO_STATICFILES_PORT=14610
# All ports commented out, because of criteries
# Proxy
CADDY_PORT=80
+14 -14
View File
@@ -25,13 +25,13 @@ services:
required: true
- path: ./infrastructure/configs/backend/.env
required: false
ports:
- name: web
target: 8080
published: ${DJANGO_PORT}
host_ip: 127.0.0.1
protocol: tcp
app_protocol: http
# ports:
# - name: web
# target: 8080
# published: ${DJANGO_PORT}
# host_ip: 127.0.0.1
# protocol: tcp
# app_protocol: http
networks:
- default
restart: unless-stopped
@@ -85,13 +85,13 @@ services:
start_period: 5s
start_interval: 2s
retries: 5
ports:
- name: web
target: 80
published: ${DJANGO_STATICFILES_PORT}
host_ip: 127.0.0.1
protocol: tcp
app_protocol: http
# ports:
# - name: web
# target: 80
# published: ${DJANGO_STATICFILES_PORT}
# host_ip: 127.0.0.1
# protocol: tcp
# app_protocol: http
networks:
- default
restart: unless-stopped
+32 -32
View File
@@ -15,13 +15,13 @@ services:
start_period: 5s
start_interval: 2s
retries: 5
ports:
- name: web
target: 3000
published: ${GRAFANA_PORT}
host_ip: 127.0.0.1
protocol: tcp
app_protocol: http
# ports:
# - name: web
# target: 3000
# published: ${GRAFANA_PORT}
# host_ip: 127.0.0.1
# protocol: tcp
# app_protocol: http
networks:
- default
profiles:
@@ -45,17 +45,17 @@ services:
configs:
- source: otel_collector_config
target: /etc/otelcol-contrib/config.yaml
ports:
- name: otlp-grpc
target: 4317
published: ${OTEL_GRPC_PORT}
host_ip: 127.0.0.1
protocol: tcp
- name: otlp-http
target: 4318
published: ${OTEL_HTTP_PORT}
host_ip: 127.0.0.1
protocol: tcp
# ports:
# - name: otlp-grpc
# target: 4317
# published: ${OTEL_GRPC_PORT}
# host_ip: 127.0.0.1
# protocol: tcp
# - name: otlp-http
# target: 4318
# published: ${OTEL_HTTP_PORT}
# host_ip: 127.0.0.1
# protocol: tcp
networks:
- default
profiles:
@@ -166,13 +166,13 @@ services:
start_period: 5s
start_interval: 2s
retries: 5
ports:
- name: web
target: 8428
published: ${VICTORIAMETRICS_PORT}
host_ip: 127.0.0.1
protocol: tcp
app_protocol: http
# ports:
# - name: web
# target: 8428
# published: ${VICTORIAMETRICS_PORT}
# host_ip: 127.0.0.1
# protocol: tcp
# app_protocol: http
networks:
- default
profiles:
@@ -259,13 +259,13 @@ services:
start_period: 5s
start_interval: 2s
retries: 5
ports:
- name: web
target: 80
published: ${PGADMIN_PORT}
host_ip: 127.0.0.1
protocol: tcp
app_protocol: http
# ports:
# - name: web
# target: 80
# published: ${PGADMIN_PORT}
# host_ip: 127.0.0.1
# protocol: tcp
# app_protocol: http
networks:
- default
profiles:
+13 -13
View File
@@ -80,19 +80,19 @@ services:
start_period: 5s
start_interval: 5s
retries: 3
ports:
- name: api
target: 9000
published: ${RUSTFS_API_PORT}
host_ip: 127.0.0.1
protocol: tcp
app_protocol: http
- name: console
target: 9001
published: ${RUSTFS_CONSOLE_PORT}
host_ip: 127.0.0.1
protocol: tcp
app_protocol: http
# ports:
# - name: api
# target: 9000
# published: ${RUSTFS_API_PORT}
# host_ip: 127.0.0.1
# protocol: tcp
# app_protocol: http
# - name: console
# target: 9001
# published: ${RUSTFS_CONSOLE_PORT}
# host_ip: 127.0.0.1
# protocol: tcp
# app_protocol: http
networks:
- default
restart: unless-stopped