chore(): disable all ports except of 80
This commit is contained in:
+12
-11
@@ -1,19 +1,20 @@
|
|||||||
# Base
|
# Base
|
||||||
RUSTFS_API_PORT=14602
|
# RUSTFS_API_PORT=14602
|
||||||
RUSTFS_CONSOLE_PORT=14601
|
# RUSTFS_CONSOLE_PORT=14601
|
||||||
|
|
||||||
# Observability
|
# Observability
|
||||||
GRAFANA_PORT=14603
|
# GRAFANA_PORT=14603
|
||||||
GRAFANA_ALLOY_PORT=14606
|
# GRAFANA_ALLOY_PORT=14606
|
||||||
PGADMIN_PORT=14604
|
# PGADMIN_PORT=14604
|
||||||
VICTORIAMETRICS_PORT=14605
|
# VICTORIAMETRICS_PORT=14605
|
||||||
OTEL_GRPC_PORT=14607
|
# OTEL_GRPC_PORT=14607
|
||||||
OTEL_HTTP_PORT=14608
|
# OTEL_HTTP_PORT=14608
|
||||||
GRAFANA_PYROSCOPE_PORT=14611
|
# GRAFANA_PYROSCOPE_PORT=14611
|
||||||
|
|
||||||
# Backend
|
# Backend
|
||||||
DJANGO_PORT=14609
|
# DJANGO_PORT=14609
|
||||||
DJANGO_STATICFILES_PORT=14610
|
# DJANGO_STATICFILES_PORT=14610
|
||||||
|
|
||||||
|
# All ports commented out, because of criteries
|
||||||
# Proxy
|
# Proxy
|
||||||
CADDY_PORT=80
|
CADDY_PORT=80
|
||||||
|
|||||||
@@ -25,13 +25,13 @@ services:
|
|||||||
required: true
|
required: true
|
||||||
- path: ./infrastructure/configs/backend/.env
|
- path: ./infrastructure/configs/backend/.env
|
||||||
required: false
|
required: false
|
||||||
ports:
|
# ports:
|
||||||
- name: web
|
# - name: web
|
||||||
target: 8080
|
# target: 8080
|
||||||
published: ${DJANGO_PORT}
|
# published: ${DJANGO_PORT}
|
||||||
host_ip: 127.0.0.1
|
# host_ip: 127.0.0.1
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
app_protocol: http
|
# app_protocol: http
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -85,13 +85,13 @@ services:
|
|||||||
start_period: 5s
|
start_period: 5s
|
||||||
start_interval: 2s
|
start_interval: 2s
|
||||||
retries: 5
|
retries: 5
|
||||||
ports:
|
# ports:
|
||||||
- name: web
|
# - name: web
|
||||||
target: 80
|
# target: 80
|
||||||
published: ${DJANGO_STATICFILES_PORT}
|
# published: ${DJANGO_STATICFILES_PORT}
|
||||||
host_ip: 127.0.0.1
|
# host_ip: 127.0.0.1
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
app_protocol: http
|
# app_protocol: http
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@@ -15,13 +15,13 @@ services:
|
|||||||
start_period: 5s
|
start_period: 5s
|
||||||
start_interval: 2s
|
start_interval: 2s
|
||||||
retries: 5
|
retries: 5
|
||||||
ports:
|
# ports:
|
||||||
- name: web
|
# - name: web
|
||||||
target: 3000
|
# target: 3000
|
||||||
published: ${GRAFANA_PORT}
|
# published: ${GRAFANA_PORT}
|
||||||
host_ip: 127.0.0.1
|
# host_ip: 127.0.0.1
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
app_protocol: http
|
# app_protocol: http
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
profiles:
|
profiles:
|
||||||
@@ -45,17 +45,17 @@ services:
|
|||||||
configs:
|
configs:
|
||||||
- source: otel_collector_config
|
- source: otel_collector_config
|
||||||
target: /etc/otelcol-contrib/config.yaml
|
target: /etc/otelcol-contrib/config.yaml
|
||||||
ports:
|
# ports:
|
||||||
- name: otlp-grpc
|
# - name: otlp-grpc
|
||||||
target: 4317
|
# target: 4317
|
||||||
published: ${OTEL_GRPC_PORT}
|
# published: ${OTEL_GRPC_PORT}
|
||||||
host_ip: 127.0.0.1
|
# host_ip: 127.0.0.1
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
- name: otlp-http
|
# - name: otlp-http
|
||||||
target: 4318
|
# target: 4318
|
||||||
published: ${OTEL_HTTP_PORT}
|
# published: ${OTEL_HTTP_PORT}
|
||||||
host_ip: 127.0.0.1
|
# host_ip: 127.0.0.1
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
profiles:
|
profiles:
|
||||||
@@ -166,13 +166,13 @@ services:
|
|||||||
start_period: 5s
|
start_period: 5s
|
||||||
start_interval: 2s
|
start_interval: 2s
|
||||||
retries: 5
|
retries: 5
|
||||||
ports:
|
# ports:
|
||||||
- name: web
|
# - name: web
|
||||||
target: 8428
|
# target: 8428
|
||||||
published: ${VICTORIAMETRICS_PORT}
|
# published: ${VICTORIAMETRICS_PORT}
|
||||||
host_ip: 127.0.0.1
|
# host_ip: 127.0.0.1
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
app_protocol: http
|
# app_protocol: http
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
profiles:
|
profiles:
|
||||||
@@ -259,13 +259,13 @@ services:
|
|||||||
start_period: 5s
|
start_period: 5s
|
||||||
start_interval: 2s
|
start_interval: 2s
|
||||||
retries: 5
|
retries: 5
|
||||||
ports:
|
# ports:
|
||||||
- name: web
|
# - name: web
|
||||||
target: 80
|
# target: 80
|
||||||
published: ${PGADMIN_PORT}
|
# published: ${PGADMIN_PORT}
|
||||||
host_ip: 127.0.0.1
|
# host_ip: 127.0.0.1
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
app_protocol: http
|
# app_protocol: http
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
profiles:
|
profiles:
|
||||||
|
|||||||
+13
-13
@@ -80,19 +80,19 @@ services:
|
|||||||
start_period: 5s
|
start_period: 5s
|
||||||
start_interval: 5s
|
start_interval: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
ports:
|
# ports:
|
||||||
- name: api
|
# - name: api
|
||||||
target: 9000
|
# target: 9000
|
||||||
published: ${RUSTFS_API_PORT}
|
# published: ${RUSTFS_API_PORT}
|
||||||
host_ip: 127.0.0.1
|
# host_ip: 127.0.0.1
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
app_protocol: http
|
# app_protocol: http
|
||||||
- name: console
|
# - name: console
|
||||||
target: 9001
|
# target: 9001
|
||||||
published: ${RUSTFS_CONSOLE_PORT}
|
# published: ${RUSTFS_CONSOLE_PORT}
|
||||||
host_ip: 127.0.0.1
|
# host_ip: 127.0.0.1
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
app_protocol: http
|
# app_protocol: http
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user