chore: Dockerfile, README, LICENSE, .env.example, CI workflows (lint/test/deploy)
Some checks failed
lint / lint (push) Has been cancelled
test / test (push) Has been cancelled
lint / lint (pull_request) Failing after 5m3s
test / test (pull_request) Failing after 18m48s

This commit is contained in:
2026-05-14 15:15:18 +02:00
parent ed744046f4
commit 057f10cb69
7 changed files with 328 additions and 33 deletions

View File

@@ -1,3 +1,21 @@
POSTGRES_USER=thoughts_user
POSTGRES_PASSWORD=postgres
POSTGRES_DB=thoughts_db
# Database (PostgreSQL required)
DATABASE_URL=postgres://postgres:password@localhost:5432/thoughts
# Authentication
JWT_SECRET=change-me
# Public base URL — used for ActivityPub actor URLs and canonical links
BASE_URL=http://localhost:3000
# Optional
HOST=0.0.0.0
PORT=3000
ALLOW_REGISTRATION=true # set to false to disable new sign-ups
RUST_ENV=development # set to "production" to disable AP debug mode
# NATS event bus (optional — federation and notifications still work without it,
# but events will not be delivered to the worker)
# NATS_URL=nats://localhost:4222
# Logging
RUST_LOG=info