Add docker-compose.yml
This commit is contained in:
parent
12fcfb489e
commit
1b5722443e
1 changed files with 75 additions and 0 deletions
75
docker-compose.yml
Normal file
75
docker-compose.yml
Normal file
|
@ -0,0 +1,75 @@
|
|||
services:
|
||||
## Dozzle - Resource Management
|
||||
dozzle:
|
||||
image: amir20/dozzle:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ports:
|
||||
- 8585:8080
|
||||
environment:
|
||||
- DOZZLE_ENABLE_ACTIONS=true
|
||||
- DOZZLE_ENABLE_SHELL=true
|
||||
# Uncomment to enable authentication. See https://dozzle.dev/guide/authentication
|
||||
# - DOZZLE_AUTH_PROVIDER=simple
|
||||
|
||||
## Forgejo - Git Management
|
||||
forgejo:
|
||||
container_name: Forgejo
|
||||
image: codeberg.org/forgejo/forgejo:11
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
networks:
|
||||
- forgejo
|
||||
ports:
|
||||
- "5322:3000"
|
||||
volumes:
|
||||
- /home/res/Research/Infra/forgejo:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
restart: unless-stopped
|
||||
|
||||
## OpenWebUI - LLM Operations and Interfacing
|
||||
openWebUI:
|
||||
container_name: OpenWebUI
|
||||
image: ghcr.io/open-webui/open-webui:main
|
||||
ports:
|
||||
- "3000:8080"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- open-webui-local:/app/backend/data
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
restart: unless-stopped
|
||||
|
||||
ollama:
|
||||
container_name: Ollama
|
||||
image: ollama/ollama
|
||||
ports:
|
||||
- "11434:11434"
|
||||
volumes:
|
||||
- ollama-local:/root/.ollama
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
forgejo:
|
||||
external: false
|
||||
|
||||
volumes:
|
||||
ollama-local:
|
||||
external: true
|
||||
open-webui-local:
|
||||
external: true
|
Loading…
Add table
Add a link
Reference in a new issue