chore(): disable all ports except of 80
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user