deploy(compose): hardcode registry host, pull-only stack
CI / Lint · Typecheck · Test · Build (push) Successful in 51s
CI / Build & push images (push) Has been cancelled
CI / Playwright (smoke) (push) Has been cancelled

Lock images to gitea.thewrightserver.net/josh/{vector-api,vector-web}
and drop the build: sections. docker compose up now only pulls; source
builds happen exclusively in CI.
This commit is contained in:
2026-04-16 21:30:31 -04:00
parent 07431c6550
commit fcd4aa6542
+8 -15
View File
@@ -1,17 +1,16 @@
# Vector — single-instance production deployment.
#
# Quick start:
# 1. Create a .env file next to this compose file containing at minimum:
# 1. Log in to the registry so compose can pull:
# docker login gitea.thewrightserver.net
#
# 2. Create a .env file next to this compose file containing at minimum:
# JWT_SECRET=<64+ char random hex>
# CLIENT_ORIGIN=http://your-host:8080
# WEB_PORT=8080
# For registry-pushed images (optional):
# REGISTRY_URL=registry.example.com/josh
# TAG=latest
# TAG=latest # or a specific commit SHA
#
# 2. Bring up the stack:
# docker compose up -d --build
# or pull pre-built images from the registry:
# 3. Pull + start:
# docker compose pull && docker compose up -d
#
# Data lives in the `vector-data` volume (SQLite db). Redis is included
@@ -24,10 +23,7 @@ x-restart: &restart
services:
api:
<<: *restart
image: ${REGISTRY_URL:-vector}/vector-api:${TAG:-latest}
build:
context: .
dockerfile: apps/api/Dockerfile
image: gitea.thewrightserver.net/josh/vector-api:${TAG:-latest}
environment:
NODE_ENV: production
PORT: 3001
@@ -48,10 +44,7 @@ services:
web:
<<: *restart
image: ${REGISTRY_URL:-vector}/vector-web:${TAG:-latest}
build:
context: .
dockerfile: apps/web/Dockerfile
image: gitea.thewrightserver.net/josh/vector-web:${TAG:-latest}
ports:
- "${WEB_PORT:-8080}:80"
depends_on: