mirror of
https://github.com/Patiun/com.gregkilmer.www.git
synced 2026-11-08 04:08:24 +00:00
a2f723ca2d
Phase 1 of the functional design plan. - Move the old site into legacy/, unchanged, for reference. It still builds from there until cutover. - Add packages/schema: the one definition of all 20 note types, with field titles and descriptions, note and vault checks, and JSON Schema export so later editing tools and the MCP server share it. - Add vault-kit: Obsidian templates generated from the schema, and the Site guide for 24.01_PersonalWebsite. - Add tools/migrate: turns the legacy JSON, collections, store data and page text into 545 Site folder notes and 84 images, and checks the result with the schema. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012aSbo2D1qP8cMFQCykf7kx
49 lines
1.6 KiB
YAML
49 lines
1.6 KiB
YAML
# =============================================================================
|
|
# docker-compose.yml — Greg Kilmer Profile Site (Cosmos homelab)
|
|
# =============================================================================
|
|
# Builds and runs the site as a container behind your Cosmos reverse proxy.
|
|
#
|
|
# Usage:
|
|
# 1. Copy .env.example -> .env and fill in SMTP/contact vars.
|
|
# 2. `docker compose up -d --build`
|
|
# 3. Point your Cosmos reverse proxy (Traefik/Caddy/nginx) at this service on
|
|
# port 4321, with TLS for gregkilmer.com.
|
|
#
|
|
# See docs/DEPLOYMENT.md for the full walkthrough.
|
|
# =============================================================================
|
|
|
|
services:
|
|
greg-site:
|
|
container_name: greg-profile-site
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
# Canonical URL baked in at build time for metadata.
|
|
SITE_URL: ${SITE_URL:-https://gregkilmer.com}
|
|
image: greg-profile-site:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
# Map container 4321 -> host. If Cosmos reverse-proxies, you can instead
|
|
# use `expose:` and join a shared network. Adjust to your setup.
|
|
- "${HOST_PORT:-4321}:4321"
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- HOST=0.0.0.0
|
|
- PORT=4321
|
|
- SITE_URL=${SITE_URL:-https://gregkilmer.com}
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:4321/"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 15s
|
|
networks:
|
|
- homelab_network
|
|
|
|
networks:
|
|
homelab_network:
|
|
name: homelab_network
|
|
external: true
|