Skip to content

Commit

Permalink
adding audiocraft
Browse files Browse the repository at this point in the history
  • Loading branch information
LegitCamper committed Apr 12, 2024
1 parent eab1544 commit 9bf82df
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions ai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,41 @@ 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"
- "traefik.http.routers.audiocraft-secure.middlewares=audiocraft-redirectregex"
deploy:
resources:
reservations:
devices:
- driver: nvidia
capabilities: [gpu]

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

0 comments on commit 9bf82df

Please sign in to comment.