drone-ci-configs/server.env

39 lines
1.1 KiB
Bash

# Gitea settings
DRONE_GITEA_SERVER=https://git.dotya.ml
DRONE_GITEA_CLIENT_ID=${DRONE_GITEA_CLIENT_ID}
DRONE_GITEA_CLIENT_SECRET=${DRONE_GITEA_SKIP_VERIFY}
DRONE_GITEA_SKIP_VERIFY=false
# Service settings
DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
DRONE_SERVER_HOST=drone.dotya.ml
DRONE_SERVER_PORT=:8000
DRONE_SERVER_PROTO=https
DRONE_GIT_ALWAYS_AUTH=true
DRONE_STARLARK_ENABLED=true
DRONE_JSONNET_ENABLED=false
DRONE_USER_FILTER=wanderer,dalahast,dotya.ml,kreyren,FunTom,ShutUpMeg,VeronikaMacku,corvin,Moonchild,2EEEB,renovate-bot
DRONE_DATABASE_SECRET=${DRONE_DATABASE_SECRET}
DRONE_COOKIE_SECRET=${DRONE_COOKIE_SECRET}
# 168h --> 7*24 == one week
DRONE_COOKIE_TIMEOUT=168h
DRONE_CRON_INTERVAL=10m
DRONE_LOGS_PRETTY=true
DRONE_LOGS_COLOR=true
DRONE_LOGS_DEBUG=false
DRONE_LOGS_TRACE=false
# ssl
DRONE_HTTP_STS_SECONDS=63072000
DRONE_HTTP_STS_PRELOAD=true
# Prometheus anonymous access
DRONE_PROMETHEUS_ANONYMOUS_ACCESS=true
# Registration settings
DRONE_OPEN=true
DRONE_REGISTRATION_CLOSED=false
DRONE_ADMIN=${DRONE_ADMIN}
DRONE_USER_CREATE=username:${DRONE_ADMIN},admin:true