mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-11 12:09:25 +00:00
22 lines
664 B
YAML
22 lines
664 B
YAML
services:
|
|
gitea-mirror:
|
|
image: ghcr.io/raylabshq/gitea-mirror:latest
|
|
restart: unless-stopped
|
|
pull_policy: always
|
|
environment:
|
|
BETTER_AUTH_SECRET: ${BETTER_AUTH_SECRET:?required}
|
|
ENCRYPTION_SECRET: ${ENCRYPTION_SECRET:?required}
|
|
BETTER_AUTH_URL: ${GITEA_MIRROR_URL:?required}
|
|
PUBLIC_BETTER_AUTH_URL: ${GITEA_MIRROR_URL:?required}
|
|
BETTER_AUTH_TRUSTED_ORIGINS: ${GITEA_MIRROR_URL:?required}
|
|
BUN_CONFIG_HTTP_IDLE_TIMEOUT: ${HTTP_IDLE_TIMEOUT:-3600}
|
|
volumes:
|
|
- gitea-mirror-data:/app/data
|
|
healthcheck:
|
|
interval: 5m
|
|
start_period: 30s
|
|
start_interval: 5s
|
|
|
|
volumes:
|
|
gitea-mirror-data:
|