mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-24 07:23:38 +00:00
[Drone] update to v2
Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
This commit is contained in:
parent
d1d4f0f47d
commit
a613c78c33
@ -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}
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user