From 6bdfcf06ced7b8a919542cd05cba711f8a563f9f Mon Sep 17 00:00:00 2001 From: piccihud Date: Tue, 24 Dec 2024 20:58:18 +0100 Subject: [PATCH] container in ascolto solo su 127.0.0.1 --- castopod/docker-compose.yml | 2 +- code/docker-compose.yml | 2 +- freshrss/docker-compose.yml | 2 +- gitea/docker-compose.yml | 2 +- gotosocial/docker-compose.yml | 2 +- kuma/docker-compose.yml | 2 +- memos/docker-compose.yml | 2 +- nextcloud/docker-compose.yml | 2 +- ntfy/docker-compose.yml | 2 +- vaultwarden/docker-compose.yml | 4 ++-- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/castopod/docker-compose.yml b/castopod/docker-compose.yml index 6499089..87fddd8 100644 --- a/castopod/docker-compose.yml +++ b/castopod/docker-compose.yml @@ -23,7 +23,7 @@ services: - castopod-app - castopod-db ports: - - 3008:8000 + - 127.0.0.1:3008:8000 restart: unless-stopped mariadb: diff --git a/code/docker-compose.yml b/code/docker-compose.yml index 521b223..5c6590b 100644 --- a/code/docker-compose.yml +++ b/code/docker-compose.yml @@ -11,7 +11,7 @@ services: dictionaries: en it extra_params: --o:ssl.enable=true --o:ssl.termination=false # Set SSL options ports: - - 3005:9980 + - 127.0.0.1:3005:9980 volumes: - /etc/localtime:/etc/localtime - /etc/timezone:/etc/timezone diff --git a/freshrss/docker-compose.yml b/freshrss/docker-compose.yml index ab6cb58..57d4a50 100644 --- a/freshrss/docker-compose.yml +++ b/freshrss/docker-compose.yml @@ -13,7 +13,7 @@ services: - extensions:/var/www/FreshRSS/extensions ports: # If you want to open a port 8080 on the local machine: - - "3004:80" + - 127.0.0.1:3004:80 environment: TZ: Europe/Rome CRON_MIN: '3,33' diff --git a/gitea/docker-compose.yml b/gitea/docker-compose.yml index c59a794..b83d668 100644 --- a/gitea/docker-compose.yml +++ b/gitea/docker-compose.yml @@ -15,7 +15,7 @@ services: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: - - "3006:3000" + - 127.0.0.1:3006:3000 - "2222:22" networks: diff --git a/gotosocial/docker-compose.yml b/gotosocial/docker-compose.yml index e2e0f68..f2aba12 100644 --- a/gotosocial/docker-compose.yml +++ b/gotosocial/docker-compose.yml @@ -24,7 +24,7 @@ services: TZ: Europe/Rome ports: ## For reverse proxy setups: - - "8080:8080" + - 127.0.0.1:8080:8080 volumes: - ./data:/gotosocial/storage - ./.cache:/gotosocial/.cache diff --git a/kuma/docker-compose.yml b/kuma/docker-compose.yml index 692562c..8bb2975 100644 --- a/kuma/docker-compose.yml +++ b/kuma/docker-compose.yml @@ -6,5 +6,5 @@ services: - ./uptime-kuma-data:/app/data - /var/run/docker.sock:/var/run/docker.sock ports: - - 3007:3001 + - 127.0.0.1:3007:3001 restart: always diff --git a/memos/docker-compose.yml b/memos/docker-compose.yml index c01a40e..08a76f8 100644 --- a/memos/docker-compose.yml +++ b/memos/docker-compose.yml @@ -5,4 +5,4 @@ services: volumes: - .memos/:/var/opt/memos ports: - - 3009:5230 + - 127.0.0.1:3009:5230 diff --git a/nextcloud/docker-compose.yml b/nextcloud/docker-compose.yml index 37abdbf..d868811 100644 --- a/nextcloud/docker-compose.yml +++ b/nextcloud/docker-compose.yml @@ -13,7 +13,7 @@ services: - /var/run/docker.sock:/var/run/docker.sock:ro network_mode: bridge ports: - - 3010:8080 + - 127.0.0.1:3010:8080 environment: - AIO_DISABLE_BACKUP_SECTION=true - APACHE_PORT=11000 diff --git a/ntfy/docker-compose.yml b/ntfy/docker-compose.yml index f14bd2f..58c0485 100644 --- a/ntfy/docker-compose.yml +++ b/ntfy/docker-compose.yml @@ -12,7 +12,7 @@ services: - /var/cache/ntfy:/var/cache/ntfy - /etc/ntfy:/etc/ntfy ports: - - 3003:80 + - 127.0.0.1:3003:80 restart: unless-stopped # https://docs.ntfy.sh/config/#example-config \ No newline at end of file diff --git a/vaultwarden/docker-compose.yml b/vaultwarden/docker-compose.yml index f58728f..49d2897 100644 --- a/vaultwarden/docker-compose.yml +++ b/vaultwarden/docker-compose.yml @@ -5,8 +5,8 @@ services: container_name: vaultwarden restart: unless-stopped ports: - - 3001:80 # Needed for the ACME HTTP-01 challenge. - - 3002:443 + - 127.0.0.1:3001:80 # Needed for the ACME HTTP-01 challenge. + - 127.0.0.1:3002:443 environment: DOMAIN: ${VAULT_DOMAN} LOG_FILE: "/data/vaultwarden.log"