chore (security): port hardening, commented out non-critical ports

This commit is contained in:
2025-12-14 02:42:46 +01:00
parent 17cae71952
commit 5e4c60bb30
6 changed files with 15 additions and 16 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ services:
- "53:53/udp" - "53:53/udp"
# - "67:67/udp" # DHCP # - "67:67/udp" # DHCP
# - "68:68/tcp" # DHCP # - "68:68/tcp" # DHCP
- "3000:3000/tcp" # - "3000:3000/tcp"
volumes: volumes:
- ./data/work:/opt/adguardhome/work - ./data/work:/opt/adguardhome/work
- ./data/conf:/opt/adguardhome/conf - ./data/conf:/opt/adguardhome/conf
+3 -3
View File
@@ -26,9 +26,9 @@ services:
command: server command: server
container_name: authentik-server container_name: authentik-server
restart: unless-stopped restart: unless-stopped
ports: # ports:
- ${PORT_HTTP:-9000}:9000 # - ${PORT_HTTP:-9000}:9000
- ${PORT_HTTPS:-9443}:9443 # - ${PORT_HTTPS:-9443}:9443
env_file: env_file:
- .env - .env
environment: environment:
+4 -5
View File
@@ -3,8 +3,8 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile.forust dockerfile: Dockerfile.forust
ports: # ports:
- "8085:80" # - "8085:80"
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./forust_files:/usr/share/nginx/html - ./forust_files:/usr/share/nginx/html
@@ -42,8 +42,8 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile.xdfnx dockerfile: Dockerfile.xdfnx
ports: # ports:
- "8086:80" # - "8086:80"
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./xdfnx_files:/usr/share/nginx/html - ./xdfnx_files:/usr/share/nginx/html
@@ -77,7 +77,6 @@ services:
- "traefik.http.routers.xdfnx-dev.service=xdfnx-homepage" - "traefik.http.routers.xdfnx-dev.service=xdfnx-homepage"
- "traefik.http.routers.xdfnx-dev.tls=true" - "traefik.http.routers.xdfnx-dev.tls=true"
networks: networks:
traefik-proxy: traefik-proxy:
external: true external: true
+2 -2
View File
@@ -86,8 +86,8 @@ services:
penpot-frontend: penpot-frontend:
image: "penpotapp/frontend:${PENPOT_VERSION:-latest}" image: "penpotapp/frontend:${PENPOT_VERSION:-latest}"
restart: always restart: always
ports: # ports:
- 9001:8080 # - 9001:8080
volumes: volumes:
- penpot_assets:/opt/data/assets - penpot_assets:/opt/data/assets
+2 -2
View File
@@ -3,8 +3,8 @@ services:
image: ghcr.io/lukegus/termix:latest image: ghcr.io/lukegus/termix:latest
container_name: termix container_name: termix
restart: unless-stopped restart: unless-stopped
ports: # ports:
- "3331:8080" # - "3331:8080"
volumes: volumes:
- ./termix-data:/app/data - ./termix-data:/app/data
environment: environment:
+2 -2
View File
@@ -5,9 +5,9 @@ services:
container_name: uptime-kuma container_name: uptime-kuma
volumes: volumes:
- ./data:/app/data - ./data:/app/data
ports: # ports:
# <Host Port>:<Container Port> # <Host Port>:<Container Port>
- "3001:3001" # - "3001:3001"
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.docker.network=traefik-proxy" - "traefik.docker.network=traefik-proxy"