drone-ci-configs/etc/drone/server.env

45 lines
1.2 KiB
Bash
Raw Permalink Normal View History

# 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}
2022-03-20 21:47:09 +01:00
DRONE_COOKIE_SECRET=${DRONE_COOKIE_SECRET}
# 168h --> 7*24 == one week
DRONE_COOKIE_TIMEOUT=168h
2022-03-20 21:06:47 +01:00
DRONE_CRON_INTERVAL=10m
DRONE_LOGS_PRETTY=true
DRONE_LOGS_COLOR=true
2022-03-20 21:07:49 +01:00
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
# Zombie build reaper interval (24h by default)
DRONE_CLEANUP_INTERVAL=60m
# reaper kills permanently (pending,running) stuck jobs
DRONE_CLEANUP_DISABLED=false
DRONE_CLEANUP_DEADLINE_RUNNING=8h
# Registration settings
DRONE_OPEN=true
DRONE_REGISTRATION_CLOSED=false
DRONE_ADMIN=${DRONE_ADMIN}
DRONE_USER_CREATE=username:${DRONE_ADMIN},admin:true