Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
4b5f107
feat: allow deploying to hetzner
tefkah Apr 2, 2026
5769e32
chore: format
tefkah Apr 2, 2026
070aa8d
fix: ci issue
tefkah Apr 2, 2026
d83286b
fix: use sentry auth token
tefkah Apr 2, 2026
69ff995
fix: use sentry auth token
tefkah Apr 2, 2026
d18fd3f
fix: don't secret it like that
tefkah Apr 2, 2026
9b073e2
fix: try and pass through sentry_Auth
tefkah Apr 2, 2026
e894fd2
fix: try again
tefkah Apr 2, 2026
facea38
fix: also filter on label
tefkah Apr 2, 2026
52b38e0
fix: push to kf
tefkah Apr 2, 2026
fe19959
fix: fix even more
tefkah Apr 2, 2026
307af6b
fix: fix even more
tefkah Apr 2, 2026
a35f173
ugh
tefkah Apr 2, 2026
e5a56cd
fix: expedite testing
tefkah Apr 2, 2026
fd2d9ba
fix: reencrypt
tefkah Apr 2, 2026
72fe9de
fix: wait for rollouot
tefkah Apr 2, 2026
a3b5b38
fix: don't replicate one off containers
tefkah Apr 6, 2026
7c71256
fix: use .env
tefkah Apr 6, 2026
095be87
fix: update images
tefkah Apr 6, 2026
1dbff9b
fix: don't use env vars in env
tefkah Apr 6, 2026
85d5f81
fix: rename assets env vars
tefkah Apr 6, 2026
cbc8e65
fix: renable full pr ci to rebuild stuff
tefkah Apr 6, 2026
6da045d
fix: go back to quick preview again
tefkah Apr 6, 2026
fbb2676
fix: rm on demand tls
tefkah Apr 6, 2026
d238cad
fix: rm s3 thing
tefkah Apr 6, 2026
eb4c075
fix: tls internal?
tefkah Apr 6, 2026
fdb4238
fix: slightly better on_demand
tefkah Apr 6, 2026
8853e47
fix: match ask
tefkah Apr 6, 2026
2c234f5
fix: correct ask jesus
tefkah Apr 6, 2026
344c7f0
fix: correct matches query
tefkah Apr 6, 2026
646c8f5
fix: consistent naming, wait for platform
tefkah Apr 6, 2026
8acc438
fix: properly indent
tefkah Apr 6, 2026
4116a64
feat: run migrations during instrumentation rather than a separate se…
tefkah Apr 6, 2026
6870ae2
fix: rerun builds
tefkah Apr 6, 2026
1792116
fix: also reset and seed
tefkah Apr 6, 2026
cc36e7e
fix: speed up test
tefkah Apr 6, 2026
e65d3f7
fix: add mechanism to skip autocache during seed
tefkah Apr 6, 2026
b40f1a9
fix: preview again...
tefkah Apr 6, 2026
649e4db
fix: make logic make sense
tefkah Apr 6, 2026
5376080
fix: inline html file
tefkah Apr 6, 2026
fbd7b87
fix: clear cache on seed
tefkah Apr 6, 2026
feb5357
fix: test setup errors
tefkah Apr 6, 2026
091864e
fix: double escape string
tefkah Apr 9, 2026
249de57
fix: better infra
tefkah Apr 9, 2026
c61e386
fix(skip-build): test
tefkah Apr 9, 2026
66899b4
fix: skip skip
tefkah Apr 9, 2026
fbd7c98
fix(skip-build): debug gateway
tefkah Apr 9, 2026
3fb1cf7
fix(skip-build): common
tefkah Apr 9, 2026
9e28c53
fix(skip-build): again!
tefkah Apr 9, 2026
b0d649d
fix: cacheing, correct build
tefkah Apr 9, 2026
b9c00ff
fix: update all the actions (danger)
tefkah Apr 9, 2026
fca4270
fix: remove preview from domain name
tefkah Apr 9, 2026
61b3328
fix: add more dockerignore
tefkah Apr 9, 2026
f9c2bd2
fix(skip-build): force update
tefkah Apr 9, 2026
dfefe30
fix(skip-build): dnsrr
tefkah Apr 9, 2026
aebf8c2
fix: apply stuff
tefkah Apr 9, 2026
ccb8bb5
fix: aaa
tefkah Apr 9, 2026
ce3a6e6
fix(skip-build): on demand
tefkah Apr 9, 2026
ec63ebe
fix: tasks
tefkah Apr 9, 2026
03df205
fix(skip-build): whole other approach
tefkah Apr 9, 2026
376d303
fix: give slightly different name so i can test
tefkah Apr 9, 2026
c30fa08
fix: change name
tefkah Apr 9, 2026
0b0969f
feat: add prod env
tefkah Apr 13, 2026
dcc65eb
fix: remove minio from prod
tefkah Apr 13, 2026
ec52034
chore: merge
tefkah Apr 14, 2026
1688d34
fix: remove mention of custom caddy
tefkah Apr 14, 2026
568d57b
fix: readd sitebuilder image to test
tefkah Apr 14, 2026
3a9874a
fix: better error reporting
tefkah Apr 14, 2026
1e5204d
fix: cascade drop
tefkah Apr 14, 2026
d50ea14
fix: allow inbucket
tefkah Apr 14, 2026
4ee8bcd
fix: expose mock notify server port
tefkah Apr 14, 2026
cc42f5b
fix(skip-build): set env vars correctly
tefkah Apr 14, 2026
6f16004
fix: correct mock notify
tefkah Apr 14, 2026
276fe32
fix: fix things
tefkah Apr 14, 2026
a0eecf7
fix: debug automation run
tefkah Apr 14, 2026
81e9970
fix: invert prose in dark mode
tefkah Apr 14, 2026
5bbd639
fix: correct notify subpath
tefkah Apr 14, 2026
6427290
feat: set correct urls for mock-notify
tefkah Apr 14, 2026
2d80b58
fix: make coar page dynamic
tefkah Apr 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,9 @@
**/values.dev.yaml
**/build
**/dist
**/.github
**/.turbo
**/.infra

LICENSE
README.md
16 changes: 6 additions & 10 deletions .env.docker-compose.dev
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
# garage admin token for init script
GARAGE_ADMIN_TOKEN=dev_admin_token

ASSETS_BUCKET_NAME=assets.v7.pubpub.org
ASSETS_UPLOAD_KEY=pubpubuser
ASSETS_UPLOAD_SECRET_KEY=pubpubpass
# set to same as above for s3fs/caddy to work
AWS_ACCESS_KEY_ID=pubpubuser
AWS_SECRET_ACCESS_KEY=pubpubpass

ASSETS_REGION=garage
S3_BUCKET_NAME=assets.v7.pubpub.org
S3_ACCESS_KEY=pubpubuser
S3_SECRET_KEY=pubpubpass
S3_REGION=garage
# internal endpoint used by backend services running in Docker
ASSETS_STORAGE_ENDPOINT=http://garage:3900
S3_ENDPOINT=http://minio:3900
# public endpoint used for signed URLs accessible from browsers
ASSETS_PUBLIC_ENDPOINT=http://localhost:3900
S3_PUBLIC_ENDPOINT=http://localhost:3900

POSTGRES_PORT=54322
POSTGRES_USER=postgres
Expand Down
40 changes: 40 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Base environment configuration
# Copy this to .env and customize as needed
# Values here are defaults that work across development, testing, and self-hosting

# Database configuration
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=postgres
POSTGRES_PORT=54322

# Cache configuration
VALKEY_HOST=localhost
VALKEY_PORT=6379

# Minio configuration
MINIO_ROOT_USER=pubpub-admin
MINIO_ROOT_PASSWORD=pubpub-admin
S3_BUCKET_NAME=assets.pubpub.local
S3_ACCESS_KEY=pubpubuser
S3_SECRET_KEY=pubpubpass
S3_REGION=us-east-1
S3_ENDPOINT=http://localhost:9000

# Email configuration
MAILGUN_SMTP_HOST=localhost
MAILGUN_SMTP_PORT=54325
MAILGUN_SMTP_USERNAME=xxx
MAILGUN_SMTP_PASSWORD=xxx

# Application configuration
API_KEY=super_secret_key
PUBPUB_URL=http://localhost:3000

# Other configuration
OTEL_SERVICE_NAME=pubpub-v7-dev
HONEYCOMB_API_KEY=xxx

# Volume types (can be overridden per environment)
DB_VOLUME_TYPE=postgres_data
MINIO_VOLUME_TYPE=minio_data
69 changes: 0 additions & 69 deletions .github/workflows/awsdeploy.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
with:
# necessary in order to show latest updates in docs
fetch-depth: 0
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Install Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 22.13.1

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v5
name: Install pnpm
with:
run_install: false
Expand All @@ -34,15 +34,15 @@ jobs:
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_OUTPUT

- name: Setup pnpm cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ steps.get-store-path.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

# - name: Cache turbo
# uses: actions/cache@v4
# uses: actions/cache@v5
# with:
# path: .turbo
# key: ${{ runner.os }}-turbo-${{ github.sha }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
ENV_FILE: .env.docker-compose.dev
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Install Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 22.13.1

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v5
name: Install pnpm
with:
run_install: false
Expand All @@ -47,7 +47,7 @@ jobs:
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_OUTPUT

- name: Setup pnpm cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ steps.get-store-path.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand All @@ -56,7 +56,7 @@ jobs:

# to cache p:build, format, lint, type-check and test-run
- name: Setup turbo cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
Expand Down
Loading
Loading