2024-10-01 02:05:54 +05:00
|
|
|
[DEFAULT]
|
|
|
|
RUN_MODE=prod
|
|
|
|
RUN_USER=forgejo
|
|
|
|
WORK_PATH=/data
|
|
|
|
|
|
|
|
[database]
|
|
|
|
DB_TYPE=postgres
|
|
|
|
HOST=postgresql:5432
|
|
|
|
NAME=forgejo
|
|
|
|
USER=forgejo
|
|
|
|
PASSWD={{ postgresql_password }}
|
|
|
|
|
|
|
|
[storage]
|
|
|
|
STORAGE_TYPE=minio
|
|
|
|
MINIO_ENDPOINT=minio:9000
|
|
|
|
MINIO_ACCESS_KEY_ID={{ minio_access_key_id }}
|
|
|
|
MINIO_SECRET_ACCESS_KEY={{ minio_secret_access_key }}
|
|
|
|
MINIO_BUCKET=forgejo
|
|
|
|
|
|
|
|
[log]
|
|
|
|
LEVEL=warn
|
|
|
|
ROOT_PATH=/data/log
|
|
|
|
|
|
|
|
[mailer]
|
|
|
|
ENABLED=true
|
|
|
|
SMTP_ADDR=comfycamp.space
|
2024-10-21 20:51:19 +05:00
|
|
|
SMTP_PORT=587
|
2024-10-01 02:05:54 +05:00
|
|
|
USER=forgejo@comfycamp.space
|
2024-10-21 20:51:19 +05:00
|
|
|
PASSWD={{ smtp_password }}
|
2024-10-01 02:05:54 +05:00
|
|
|
|
|
|
|
[oauth2]
|
|
|
|
JWT_SECRET={{ oauth2_jwt_secret }}
|
|
|
|
|
|
|
|
[repository]
|
|
|
|
ROOT=/data/repositories
|
|
|
|
|
|
|
|
[security]
|
|
|
|
INSTALL_LOCK=true
|
|
|
|
INTERNAL_TOKEN={{ internal_token }}
|
|
|
|
SECRET_KEY={{ secret_key }}
|
|
|
|
|
|
|
|
[server]
|
|
|
|
DOMAIN=git.comfycamp.space
|
|
|
|
ROOT_URL=https://git.comfycamp.space
|
|
|
|
HTTP_PORT=3000
|
|
|
|
LFS_JWT_SECRET={{ lfs_jwt_secret }}
|
|
|
|
LFS_START_SERVER=true
|
|
|
|
START_SSH_SERVER=true
|
|
|
|
SSH_PORT=8022
|
|
|
|
SSH_LISTEN_PORT=8022
|
|
|
|
|
|
|
|
[session]
|
|
|
|
COOKIE_NAME=session
|
|
|
|
COOKIE_SECURE=true
|
|
|
|
|
2024-10-21 00:27:33 +05:00
|
|
|
[service]
|
|
|
|
DISABLE_REGISTRATION=true
|
|
|
|
SHOW_REGISTRATION_BUTTON=false
|
|
|
|
|
2024-10-01 02:05:54 +05:00
|
|
|
[cache]
|
|
|
|
ADAPTER=redis
|
|
|
|
HOST=redis://redis-forgejo:6379/0?pool_size=100&idle_timeout=180s
|