Time Zone

When running the Drone server image, the timezone can be set with an environment variable TZ={Area/Location} using a valid TZ database name EG:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
docker run \
  --volume=/var/lib/drone:/data \
  --env=TZ=Europe/London
  --env=DRONE_GITHUB_CLIENT_ID=your-id \
  --env=DRONE_GITHUB_CLIENT_SECRET=super-duper-secret \
  --env=DRONE_RPC_SECRET=super-duper-secret \
  --env=DRONE_SERVER_HOST=drone.company.com \
  --env=DRONE_SERVER_PROTO=https \
  --publish=80:80 \
  --publish=443:443 \
  --restart=always \
  --detach=true \
  --name=drone \
  drone/drone:2

For more information on tzdata see Wikipedia