Skip to content

Commit

Permalink
adding audiocraft
Browse files Browse the repository at this point in the history
fix

fix2

fix3

fix4
  • Loading branch information
LegitCamper committed Apr 12, 2024
1 parent eab1544 commit 63a27da
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions ai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ volumes:
driver: local
ollama-ui_data:
driver: local
audiocraft_data:
driver: local

services:
fooocus:
Expand Down Expand Up @@ -55,6 +57,40 @@ services:
- driver: nvidia
capabilities: [gpu]

audiocraft:
image: ashleykza/audiocraft
container_name: audiocraft
restart: always
networks:
- web
expose:
- 3001
env_file:
- ./secrets/homelab.env
volumes:
- audiocraft_data:/workspace
environment:
- VENV_PATH=/workspace/venvs/audiocraft_plus
labels:
- "traefik.enable=true"
- "traefik.docker.network=web"
- "traefik.http.routers.audiocraft.entrypoints=http"
- "traefik.http.routers.audiocraft.rule=Host(`audiocraft.${DOMAIN}`)"
- "traefik.http.middlewares.audiocraft-https-redirect.redirectscheme.scheme=https"
- "traefik.http.middlewares.sslheader.headers.customrequestheaders.X-Forwarded-Proto=https"
- "traefik.http.routers.audiocraft.middlewares=audiocraft-https-redirect"
- "traefik.http.routers.audiocraft-secure.entrypoints=https"
- "traefik.http.routers.audiocraft-secure.rule=Host(`audiocraft.${DOMAIN}`)"
- "traefik.http.routers.audiocraft-secure.tls=true"
- "traefik.http.routers.audiocraft-secure.tls.certresolver=${DNS}"
- "traefik.http.routers.audiocraft-secure.middlewares=forward-auth"
deploy:
resources:
reservations:
devices:
- driver: nvidia
capabilities: [gpu]

ollama:
image: ollama/ollama
container_name: ollama
Expand Down

0 comments on commit 63a27da

Please sign in to comment.