ai-dock / stable-diffusion-webui-forge

Stable Diffusion WebUI Forge docker images for use in GPU cloud and local environments. Includes AI-Dock base for authentication and improved user experience.
Other
10 stars 4 forks source link

[Question]: Traefik managed container #3

Open fahadshery opened 1 week ago

fahadshery commented 1 week ago

Hi,

Many thanks for the project. Looks good. My AI-Stack is managed by traefik. I am running comfyui, automatic1111 etc. and share models between them. You have the following list:

        # Don't enclose values in quotes
        - DIRECT_ADDRESS=${DIRECT_ADDRESS:-127.0.0.1}
        - DIRECT_ADDRESS_GET_WAN=${DIRECT_ADDRESS_GET_WAN:-false}
        - WORKSPACE=${WORKSPACE:-/workspace}
        - WORKSPACE_SYNC=${WORKSPACE_SYNC:-false}
        - CF_TUNNEL_TOKEN=${CF_TUNNEL_TOKEN:-}
        - CF_QUICK_TUNNELS=${CF_QUICK_TUNNELS:-true}
        - CIVITAI_TOKEN=${CIVITAI_TOKEN:-}
        - HF_TOKEN=${HF_TOKEN:-}
        - WEB_ENABLE_AUTH=${WEB_ENABLE_AUTH:-true}
        - WEB_ENABLE_HTTPS${WEB_ENABLE_HTTPS:-false}
        - WEB_USER=${WEB_USER:-user}
        - WEB_PASSWORD=${WEB_PASSWORD:-password}
        - SSH_PORT_HOST=${SSH_PORT_HOST:-2222}
        - SSH_PORT_LOCAL=${SSH_PORT_LOCAL:-22}
        - SERVICEPORTAL_PORT_HOST=${SERVICEPORTAL_PORT_HOST:-1111}
        - SERVICEPORTAL_METRICS_PORT=${SERVICEPORTAL_METRICS_PORT:-21111}
        - SERVICEPORTAL_URL=${SERVICEPORTAL_URL:-}
        - FORGE_BRANCH=${FORGE_BRANCH:-}
        - FORGE_ARGS=${FORGE_ARGS:-}
        - FORGE_PORT_HOST=${FORGE_PORT_HOST:-7860}
        - FORGE_PORT_LOCAL=${FORGE_PORT_LOCAL:-17860}
        - FORGE_METRICS_PORT=${FORGE_METRICS_PORT:-27860}
        - FORGE_URL=${FORGE_URL:-}
        - JUPYTER_PORT_HOST=${JUPYTER_PORT_HOST:-8888}
        - JUPYTER_METRICS_PORT=${JUPYTER_METRICS_PORT:-28888}
        - JUPYTER_URL=${JUPYTER_URL:-}
        - SERVERLESS=${SERVERLESS:-false}
        - SYNCTHING_UI_PORT_HOST=${SYNCTHING_UI_PORT_HOST:-8384}
        - SYNCTHING_TRANSPORT_PORT_HOST=${SYNCTHING_TRANSPORT_PORT_HOST:-22999}
        - SYNCTHING_URL=${SYNCTHING_URL:-}
        #- PROVISIONING_SCRIPT=${PROVISIONING_SCRIPT:-}

there will be people who don't need ssh access, Jupyter etc. what's the best way to disable those?

fahadshery commented 6 days ago

it works which is great but it comes with soo many tools. would appreciate it if it just comes without cloud flare ssh, synching etc.