-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 1019 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
35 lines (33 loc) · 1019 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
services:
mooshieui:
build: .
image: ghcr.io/mooshieblob1/mooshieui:latest
ports:
- "${MOOSHIEUI_PORT:-3200}:3200"
volumes:
- mooshie-data:/data
- ${MODELS_PATH:-./models}:/data/models
environment:
- MOOSHIEUI_DATA_DIR=/data
- MOOSHIEUI_ADMIN_USER=${MOOSHIEUI_ADMIN_USER:-admin}
- MOOSHIEUI_ADMIN_PASS=${MOOSHIEUI_ADMIN_PASS:-changeme}
- NVIDIA_VISIBLE_DEVICES=all
- RUST_LOG=${RUST_LOG:-info}
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
restart: unless-stopped
# Optional: Cloudflare Tunnel sidecar for secure remote access.
# Uncomment and set CLOUDFLARE_TUNNEL_TOKEN in .env to enable.
#
# cloudflared:
# image: cloudflare/cloudflared:latest
# command: tunnel --no-autoupdate run --token ${CLOUDFLARE_TUNNEL_TOKEN}
# network_mode: "service:mooshieui"
# restart: unless-stopped
volumes:
mooshie-data: