appstore-1panel/apps/nps/0.26.10/docker-compose.yml

34 lines
1.1 KiB
YAML
Raw Normal View History

2023-05-15 14:53:55 +08:00
version: "3"
services:
nps:
image: ffdfgdfg/nps:v0.26.10
container_name: ${CONTAINER_NAME}
ports:
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
- ${NPS_BRIDGE_PORT}:${NPS_BRIDGE_PORT}
- ${NPS_HTTP_PROXY_PORT}:${NPS_HTTP_PROXY_PORT}
- ${NPS_HTTPS_PROXY_PORT}:${NPS_HTTPS_PROXY_PORT}
- ${NPS_RANDOM_PORT_START}-${NPS_RANDOM_PORT_END}:${NPS_RANDOM_PORT_START}-${NPS_RANDOM_PORT_END}
restart: always
volumes:
- ./conf:/conf
environment:
NPS_WEB_HOST: ${NPS_WEB_HOST}
NPS_WEB_PORT: ${PANEL_APP_PORT_HTTP}
NPS_WEB_USERNAME: ${NPS_WEB_USERNAME}
NPS_WEB_PASSWORD: ${NPS_WEB_PASSWORD}
NPS_WEB_OPEN_SSL: ${NPS_WEB_OPEN_SSL}
NPS_PUBLIC_VKEY: ${NPS_PUBLIC_VKEY}
NPS_BRIDGE_PORT: ${NPS_BRIDGE_PORT}
NPS_AUTH_CRYPT_KEY: ${NPS_AUTH_CRYPT_KEY}
NPS_HTTP_PROXY_IP: ${NPS_HTTP_PROXY_IP}
NPS_HTTP_PROXY_PORT: ${NPS_HTTP_PROXY_PORT}
NPS_HTTPS_PROXY_PORT: ${NPS_HTTPS_PROXY_PORT}
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true