Files
website/docker-compose.yaml
jimmy 45b31be9a7 Add gallery admin and video media support.
This updates gallery handling to support video playback with generated poster thumbnails, adds authenticated admin upload/delete flows, and improves dev/runtime behavior including reliable thumbnail generation and media-safe response handling.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 23:01:02 +12:00

42 lines
875 B
YAML

version: '3.9'
services:
website:
image: technical.kiwi/website
container_name: technicalkiwi
build: ./
volumes:
- ./app/images:/app/images
env_file:
- .env
#networks:
# - caddy
labels:
caddy: technicalkiwi
caddy.reverse_proxy: "{{upstreams 8080}}"
dev:
build:
context: .
dockerfile: Dockerfile.dev
container_name: technicalkiwi-dev
ports:
- "7331:7331" # templ live-reload proxy — open this in the browser
- "8080:8080" # app direct (no auto-reload)
volumes:
- ./app:/app
- ${GOMODCACHE}:/go/pkg/mod
- ${GOCACHE}:/root/.cache/go-build
env_file:
- .env
environment:
ADDR: ":8080"
GOMODCACHE: /go/pkg/mod
GOCACHE: /root/.cache/go-build
working_dir: /app
#networks:
# caddy:
# external: true
# name: caddy