diff --git a/.env.template b/.env.template index eb164e6..281245f 100644 --- a/.env.template +++ b/.env.template @@ -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 diff --git a/deploy/compose/compose.backend.yaml b/deploy/compose/compose.backend.yaml index cc79771..704a878 100644 --- a/deploy/compose/compose.backend.yaml +++ b/deploy/compose/compose.backend.yaml @@ -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 diff --git a/deploy/compose/compose.observability.yaml b/deploy/compose/compose.observability.yaml index 9f41ae9..eb42adf 100644 --- a/deploy/compose/compose.observability.yaml +++ b/deploy/compose/compose.observability.yaml @@ -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: diff --git a/deploy/compose/compose.yaml b/deploy/compose/compose.yaml index 685b96b..f8fdca1 100644 --- a/deploy/compose/compose.yaml +++ b/deploy/compose/compose.yaml @@ -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