Add deployment scaffolding (Dockerfile, docker-compose, nginx)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-07 14:14:30 +01:00
parent bd5f92c7b3
commit 0a002a49c9
4 changed files with 45 additions and 2 deletions

27
.dockerignore Normal file
View File

@ -0,0 +1,27 @@
# Git
.git
.gitignore
# Development
node_modules
.next
.cache
# Documentation
README.md
CLAUDE.md
*.md
# IDE
.idea
.vscode
*.swp
# OS
.DS_Store
Thumbs.db
# Environment (keep .env.example)
.env
.env.local
.env*.local

1
CLAUDE.md Symbolic link
View File

@ -0,0 +1 @@
/opt/config/CLAUDE.md

15
backlog/config.yml Normal file
View File

@ -0,0 +1,15 @@
project_name: "post-app-website-new"
default_status: "To Do"
statuses: ["To Do", "In Progress", "Done"]
labels: []
milestones: []
date_format: yyyy-mm-dd
max_column_width: 20
auto_open_browser: true
default_port: 6420
remote_operations: true
auto_commit: false
zero_padded_ids: 3
bypass_git_hooks: false
check_active_branches: true
active_branch_days: 60

View File

@ -3,7 +3,7 @@
import { useState } from "react" import { useState } from "react"
import { Button } from "@/components/ui/button" import { Button } from "@/components/ui/button"
const NEWSLETTER_API = "https://newsletter.jeffemmett.com/api/subscribe" const NEWSLETTER_API = "https://newsletter.jeffemmett.com/subscribe"
const LIST_UUID = "0a4810a2-13c7-4ba9-a65b-bc2251283298" // Post-Appitalism list const LIST_UUID = "0a4810a2-13c7-4ba9-a65b-bc2251283298" // Post-Appitalism list
export function NewsletterSignup() { export function NewsletterSignup() {
@ -19,7 +19,7 @@ export function NewsletterSignup() {
setStatus("loading") setStatus("loading")
try { try {
const response = await fetch(`${NEWSLETTER_API}/subscribe`, { const response = await fetch(`NEWSLETTER_API`, {
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",