Create docker-compose.yml for ai-portal

Added docker-compose.yml for ai-portal service configuration.
This commit is contained in:
Outis
2026-06-01 09:30:36 -04:00
committed by GitHub
parent d428a91120
commit 47742e62d3
+26
View File
@@ -0,0 +1,26 @@
# ~/docker/ai-portal/docker-compose.yml
#
# Landing page and stack swap controller.
# This stays running permanently — it is lightweight (no GPU).
#
# Start:
# cd ~/docker/ai-portal && docker compose up -d
#
# Portal → http://192.0.2.1:8080
# Caddy proxies localai.mydomain.com → here
services:
portal:
build: .
ports:
- "8080:8080"
volumes:
# Needs access to Docker socket to start/stop other stacks
- /var/run/docker.sock:/var/run/docker.sock
# Needs access to the other compose files
- /home/user/docker:/docker
environment:
- IMAGE_STACK=/docker/ai-image-gen
- LLM_STACK=/docker/ai-llm
restart: unless-stopped