Добавлен файл
This commit is contained in:
1 parent
dc6487238a
commit
a8349176fc
1 file changed
+42
@@ -0,0 +1,42 @@
|
||||
|
||||
services:
|
||||
open-terminal:
|
||||
image: ghcr.io/open-webui/open-terminal:latest
|
||||
container_name: open-terminal
|
||||
restart: unless-stopped
|
||||
group_add:
|
||||
- docker
|
||||
|
||||
ports:
|
||||
- "30377:8000"
|
||||
|
||||
environment:
|
||||
TZ: Europe/Moscow
|
||||
OPEN_TERMINAL_API_KEY: ${OPEN_TERMINAL_API_KEY}
|
||||
OPEN_TERMINAL_FILE_BROWSER_ROOT: filesystem
|
||||
|
||||
volumes:
|
||||
- /mnt/ssd:/ssd
|
||||
- /mnt/tank:/tank
|
||||
- /mnt/backup:/backup
|
||||
- /mnt/video:/video
|
||||
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
- /mnt/ssd/apps/open-terminal:/home/user
|
||||
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 2g
|
||||
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- wget
|
||||
- -qO-
|
||||
- http://localhost:8000/health
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
Reference in new issue
Block a user