Get rid of public ports for development docker-compose files

This commit is contained in:
Taras Kushnir
2025-07-08 14:49:16 +03:00
parent ebc2c27c68
commit f3a24172bf
4 changed files with 4 additions and 12 deletions
-5
View File
@@ -86,8 +86,6 @@ services:
interval: 3s
timeout: 3s
retries: 3
ports:
- '5432:5432'
networks:
- postgres_network
volumes:
@@ -99,9 +97,6 @@ services:
pull_policy: if_not_present
environment:
CLICKHOUSE_DB: privatecaptcha
ports:
- '9000:9000' # Native client interface
- '8123:8123' # HTTP interface
networks:
- clickhouse_network
healthcheck:
+1 -1
View File
@@ -1,7 +1,7 @@
services:
server:
ports:
- 9090:9090
- 127.0.0.1:9090:9090
extra_hosts:
- "host.docker.internal:host-gateway"
+3 -3
View File
@@ -2,7 +2,7 @@ services:
server:
ports:
# this is the default Golang endpoint for pprof. In case of profiling, port 9090 conflicts with prometheus below
- 6060:6060
- 127.0.0.1:6060:6060
environment:
PC_LOCAL_ADDRESS: "0.0.0.0:6060"
PC_VERBOSE: ''
@@ -23,7 +23,7 @@ services:
command:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- 9090:9090
- 127.0.0.1:9090:9090
networks:
- server_network
- monitoring_network
@@ -34,7 +34,7 @@ services:
depends_on:
- prometheus
ports:
- 3000:3000
- 127.0.0.1:3000:3000
networks:
- monitoring_network
volumes:
-3
View File
@@ -106,9 +106,6 @@ services:
interval: 3s
timeout: 3s
retries: 3
ports:
- '9000:9000' # Native client interface
#- '8123:8123' # HTTP interface
networks:
- test_clickhouse_network
volumes: