Add reverse proxy webapp compose config

This commit is contained in:
2026-06-13 15:21:44 -04:00
parent 2c5d683a72
commit 2ec3feb617
2 changed files with 45 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
services:
climbingboardgpt-webapp:
build:
context: .
dockerfile: webapp/Dockerfile
container_name: climbingboardgpt-webapp
restart: unless-stopped
expose:
- "8055"
environment:
CBGPT_DEVICE: "cpu"
CBGPT_TORCH_THREADS: "1"
volumes:
- ./models:/app/models:ro
- ./data/processed/tokenized:/app/data/processed/tokenized:ro
- ./images:/app/images:ro
- ./webapp:/app/webapp:ro
networks:
- proxy
networks:
proxy:
external: true
name: caddy