[Drone] update to v2

Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
pull/494/head
Kang Huaishuai 2021-09-19 17:58:20 +08:00
parent d1d4f0f47d
commit a613c78c33
No known key found for this signature in database
GPG Key ID: 5E515022F565DA09
2 changed files with 2 additions and 4 deletions

View File

@ -3,7 +3,7 @@ version: '3'
services:
drone-server:
image: drone/drone:1
image: drone/drone:2.3.1
ports:
- 443:443
- 80:80
@ -12,7 +12,6 @@ services:
- ./ssl:/etc/certs
restart: always
environment:
- DRONE_AGENTS_ENABLED=true
- DRONE_SERVER_HOST=${DRONE_SERVER_HOST:-drone.domain.com}
- DRONE_SERVER_PROTO=${DRONE_SERVER_PROTO:-https}
- DRONE_RPC_SECRET=${DRONE_RPC_SECRET:-secret}

View File

@ -30,7 +30,7 @@ version: '3'
services:
drone-server:
image: drone/drone:1
image: drone/drone:2.3.1
ports:
- 443:443
- 80:80
@ -39,7 +39,6 @@ services:
- ./ssl:/etc/certs
restart: always
environment:
- DRONE_AGENTS_ENABLED=true
- DRONE_SERVER_HOST=${DRONE_SERVER_HOST:-https://drone.yeasy.com}
- DRONE_SERVER_PROTO=${DRONE_SERVER_PROTO:-https}
- DRONE_RPC_SECRET=${DRONE_RPC_SECRET:-secret}