OPC # 0003: Move Gitea out of OPC Aspire Orchestration
This commit is contained in:
@@ -20,6 +20,8 @@ networks:
|
||||
volumes:
|
||||
postgres-data:
|
||||
minio-data:
|
||||
clarity-gitea-data:
|
||||
external: true
|
||||
|
||||
services:
|
||||
|
||||
@@ -154,6 +156,37 @@ services:
|
||||
aliases:
|
||||
- nginx
|
||||
|
||||
# ── Gitea ─────────────────────────────────────────────────────────────────
|
||||
# Platform source control. Hosts OPC, Clarity, and Gateway repos.
|
||||
# Accessible at https://opc.clarity.test (nginx terminates TLS).
|
||||
gitea:
|
||||
image: gitea/gitea:latest
|
||||
container_name: clarity-gitea
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "2222:22"
|
||||
environment:
|
||||
GITEA__database__DB_TYPE: postgres
|
||||
GITEA__database__HOST: postgres:5432
|
||||
GITEA__database__NAME: giteadb
|
||||
GITEA__database__USER: postgres
|
||||
GITEA__database__PASSWD: postgres
|
||||
GITEA__server__DOMAIN: opc.clarity.test
|
||||
GITEA__server__ROOT_URL: https://opc.clarity.test
|
||||
GITEA__server__SSH_DOMAIN: opc.clarity.test
|
||||
GITEA__server__SSH_PORT: "2222"
|
||||
GITEA__service__DISABLE_REGISTRATION: "true"
|
||||
volumes:
|
||||
- clarity-gitea-data:/data
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
clarity-net:
|
||||
aliases:
|
||||
- gitea
|
||||
|
||||
# ── Dnsmasq ───────────────────────────────────────────────────────────────
|
||||
# Resolves *.clarity.test → 127.0.0.1 so browser requests hit nginx on the host.
|
||||
dnsmasq:
|
||||
|
||||
Reference in New Issue
Block a user