feat(npmplus): use external network and expose ports

This commit is contained in:
2025-12-28 19:55:00 +01:00
parent e54b88d48d
commit ed91edb2e8

View File

@@ -4,7 +4,11 @@ services:
container_name: npmplus container_name: npmplus
image: docker.io/zoeyvid/npmplus:latest # or ghcr.io/zoeyvid/npmplus:latest image: docker.io/zoeyvid/npmplus:latest # or ghcr.io/zoeyvid/npmplus:latest
restart: unless-stopped restart: unless-stopped
network_mode: host # network_mode: host
ports:
- "80:80"
- "81:81"
- "443:443"
# ipc: host # required when you want to use the openappsec attachment module # ipc: host # required when you want to use the openappsec attachment module
# cap_add: # required if you set NGINX_QUIC_BPF to true # cap_add: # required if you set NGINX_QUIC_BPF to true
# - BPF # required if you set NGINX_QUIC_BPF to true # - BPF # required if you set NGINX_QUIC_BPF to true
@@ -218,3 +222,8 @@ services:
volumes: volumes:
data: {} data: {}
networks:
default:
name: npmplus
external: true