From 269ba44af22a8f098cc4d23dda58a003d70afa54 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 29 Oct 2024 21:21:16 -0700 Subject: [PATCH] Make Sillytavern stack config conform to standards --- homelab/stacks/ai/docker-compose.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/homelab/stacks/ai/docker-compose.yml b/homelab/stacks/ai/docker-compose.yml index 46e03afd..03a41ab1 100644 --- a/homelab/stacks/ai/docker-compose.yml +++ b/homelab/stacks/ai/docker-compose.yml @@ -39,14 +39,15 @@ services: networks: - ai privileged: false - ports: - - 8000:8000/tcp volumes: - - $HOME/docker-data/sillytavern/config:/home/node/app/config - - $HOME/docker-data/sillytavern/data:/home/node/app/data - - $HOME/docker-data/sillytavern/plugins:/home/node/app/plugins + - $DOCKER_DATA/sillytavern/config:/home/node/app/config + - $DOCKER_DATA/sillytavern/data:/home/node/app/data + - $DOCKER_DATA/sillytavern/plugins:/home/node/app/plugins environment: TZ: America/Los_Angeles + labels: + - traefik.http.routers.sillytavern.rule=Host(`sillytavern.jafner.net`) + - traefik.http.routers.sillytavern.tls.certresolver=lets-encrypt n8n: container_name: ai_n8n