mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-22 14:01:34 +03:00
Co-authored-by: Kai Chappel <kaichappel@users.noreply.github.com>
32 lines
988 B
YAML
32 lines
988 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: gitea-mirror_web_1
|
|
APP_PORT: 4321
|
|
|
|
web:
|
|
image: ghcr.io/raylabshq/gitea-mirror:v3.21.0@sha256:ef101da58f0e8d4e1eab96e37ef8f90cf756a8c6d68ab977f8ce7e4b69cb1318
|
|
restart: on-failure
|
|
user: "1000:1000"
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data:/app/data
|
|
environment:
|
|
BETTER_AUTH_SECRET: ${APP_SEED}
|
|
BETTER_AUTH_URL: http://${DEVICE_DOMAIN_NAME}:${APP_GITEA_MIRROR_PORT}
|
|
BETTER_AUTH_TRUSTED_ORIGINS: "*"
|
|
NODE_ENV: production
|
|
DATABASE_URL: file:data/gitea-mirror.db
|
|
HOST: 0.0.0.0
|
|
PORT: "4321"
|
|
PUBLIC_BETTER_AUTH_URL: http://${DEVICE_DOMAIN_NAME}:${APP_GITEA_MIRROR_PORT}
|
|
MIRROR_ISSUE_CONCURRENCY: "3"
|
|
MIRROR_PULL_REQUEST_CONCURRENCY: "5"
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=3", "--spider", "http://localhost:4321/api/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 15s
|