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. # Vector — single-instance production deployment.
# #
# Quick start: # 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> # JWT_SECRET=<64+ char random hex>
# CLIENT_ORIGIN=http://your-host:8080 # CLIENT_ORIGIN=http://your-host:8080
# WEB_PORT=8080 # WEB_PORT=8080
# For registry-pushed images (optional): # TAG=latest # or a specific commit SHA
# REGISTRY_URL=registry.example.com/josh
# TAG=latest
# #
# 2. Bring up the stack: # 3. Pull + start:
# docker compose up -d --build
# or pull pre-built images from the registry:
# docker compose pull && docker compose up -d # docker compose pull && docker compose up -d
# #
# Data lives in the `vector-data` volume (SQLite db). Redis is included # Data lives in the `vector-data` volume (SQLite db). Redis is included
@@ -24,10 +23,7 @@ x-restart: &restart
services: services:
api: api:
<<: *restart <<: *restart
image: ${REGISTRY_URL:-vector}/vector-api:${TAG:-latest} image: gitea.thewrightserver.net/josh/vector-api:${TAG:-latest}
build:
context: .
dockerfile: apps/api/Dockerfile
environment: environment:
NODE_ENV: production NODE_ENV: production
PORT: 3001 PORT: 3001
@@ -48,10 +44,7 @@ services:
web: web:
<<: *restart <<: *restart
image: ${REGISTRY_URL:-vector}/vector-web:${TAG:-latest} image: gitea.thewrightserver.net/josh/vector-web:${TAG:-latest}
build:
context: .
dockerfile: apps/web/Dockerfile
ports: ports:
- "${WEB_PORT:-8080}:80" - "${WEB_PORT:-8080}:80"
depends_on: depends_on: