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-03-07 11:15:32 +01:00
|
|
|
image: ${DRONE_SERVER_IMAGE:-drone/drone:2.10.0}
|
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
|