Create docker-compose.yml for ai-portal
Added docker-compose.yml for ai-portal service configuration.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user