diff options
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 8732b1c..8df2366 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ services: comfyui: build: dockerfile: Dockerfile.comfyui - image: comfyui:0.41.1 + image: comfyui:0.43.0 pull_policy: never container_name: comfyui restart: always @@ -15,6 +15,10 @@ services: --multi-user environment: ROCR_VISIBLE_DEVICES: 1 + TZ: Europe/Zurich + PYOPENGL_PLATFORM: egl + PYRENDER_PLATFORM: egl + EGL_PLATFORM: surfaceless volumes: - type: bind source: ./comfyui/custom_nodes @@ -39,6 +43,7 @@ services: ports: - 8188:8188 group_add: + - video - 985 - 989 ipc: host @@ -60,11 +65,12 @@ services: OLLAMA_FLASH_ATTENTION: 1 OLLAMA_KV_CACHE_TYPE: q8_0 OLLAMA_KEEP_ALIVE: 15m - OLLAMA_MAX_LOADED_MODELS: 2 + OLLAMA_MAX_LOADED_MODELS: 1 OLLAMA_MAX_QUEUE: 512 OLLAMA_NUM_PARALLEL: 2 OLLAMA_NO_CLOUD: 1 ROCR_VISIBLE_DEVICES: 0 + TZ: Europe/Zurich volumes: - type: bind source: ./ollama/data @@ -80,17 +86,25 @@ services: - /dev/kfd:/dev/kfd - /dev/dri:/dev/dri - open-terminal: - image: ghcr.io/open-webui/open-terminal + open-terminal-teachos: + image: open-terminal/teachos:16.2.0 + build: + dockerfile: Dockerfile.terminal-teachos + command: > + open-terminal + run + --host 0.0.0.0 + --port 8000 + --cors-allowed-origins https://ai.arknet.ch + --cwd /home/ubuntu/workspaces restart: always - container_name: open-terminal + container_name: open-terminal-teachos environment: - OPEN_TERMINAL_MULTI_USER: true - OPEN_TERMINAL_PACKAGES: git-lfs cmake g++ libstdc++-14-dev ninja-build OPEN_TERMINAL_API_KEY: wt-656cfbcda04de70926016fb5f7a82529d97650ce4512ae70a70ab26c49fafce7 + TZ: Europe/Zurich volumes: - type: bind - source: ./open-terminal/base - target: /home + source: ./open-terminal/teachos + target: /home/ubuntu/workspaces ports: - 8000:8000 |
