Docs
Skip to content

Deployment Guide

This page summarizes the self-maintained deployment layer for Geoq API Gateway.

Local Start

Check dependencies:

bash
./scripts/doctor.sh

Create the environment file:

bash
cp ".env.example" ".env"
./scripts/generate-secrets.sh

Start services:

bash
./scripts/up.sh

Check health:

bash
./scripts/check.sh

Production Notes

The recommended production entrypoint is https://api.geoq.help, with https://gateway.geoq.help as a backup domain.

The deployment layer uses Docker Compose with PostgreSQL, Redis, the gateway service, and Cloudflare Tunnel. The origin service listens on 127.0.0.1:3000.

Admin Initialization

bash
./scripts/init-admin.sh

After initialization, open the console, add upstream channels, configure models, and verify requests through the Logs page.

基于 new-api 二次开发,AGPL-3.0 协议