2022-01-19 15:07:02 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
drone-server:
|
|
|
|
name: ${DRONE_SERVER_VOLUME_NAME:-drone-server}
|
|
|
|
|
|
|
|
services:
|
|
|
|
drone-server:
|
|
|
|
container_name: ${DRONE_SERVER_CONTAINER_NAME:-drone-server}
|
2022-02-07 10:14:52 +01:00
|
|
|
image: ${DRONE_SERVER_IMAGE:-drone/drone:2.9.1}
|
2022-01-19 15:07:02 +01:00
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
# https://docs.drone.io/server/reference/drone-rpc-secret/
|
|
|
|
DRONE_RPC_SECRET: ${DRONE_RPC_SECRET}
|
|
|
|
# https://docs.drone.io/server/reference/drone-server-host/
|
|
|
|
DRONE_SERVER_HOST: ${DRONE_SERVER_HOST}
|
|
|
|
# https://docs.drone.io/server/reference/drone-server-proto/
|
|
|
|
DRONE_SERVER_PROTO: ${DRONE_SERVER_PROTO:-https}
|
|
|
|
volumes:
|
|
|
|
- drone-server:/data
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|