mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 18:01:02 +00:00
commit
14b36066f3
2 changed files with 4 additions and 6 deletions
|
@ -33,6 +33,8 @@ Here are some of the Docker options, explained:
|
|||
|
||||
Drone uses environment variables for runtime settings and configuration, such as GitHub, GitLab, plugins and more. These settings can be provided to Docker using an `--env-file` as seen above.
|
||||
|
||||
Once you have your drone container created, then you can start/stop/restart it in below ways.
|
||||
|
||||
## Starting, Stopping, Logs
|
||||
|
||||
Commands to start, stop and restart Drone:
|
||||
|
@ -60,12 +62,8 @@ start on filesystem and started docker
|
|||
stop on runlevel [!2345]
|
||||
respawn
|
||||
|
||||
pre-start script
|
||||
/usr/bin/docker rm -f drone
|
||||
end script
|
||||
|
||||
script
|
||||
/usr/bin/docker run -a drone
|
||||
/usr/bin/docker start -a drone
|
||||
end script
|
||||
```
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ SERVER_ADDR=":80"
|
|||
|
||||
## Server SSL
|
||||
|
||||
Drone uses the `ListAndServerTLS` function in the Go standard library to accept `https` connections. If you experience any issues configuring `https` please contact us on [gitter](https://gitter.im/drone/drone). Please do not log an issue saying `https` is broken in Drone (it isn't).
|
||||
Drone uses the `ListenAndServeTLS` function in the Go standard library to accept `https` connections. If you experience any issues configuring `https` please contact us on [gitter](https://gitter.im/drone/drone). Please do not log an issue saying `https` is broken in Drone (it isn't).
|
||||
|
||||
This example accepts `HTTPS` connections:
|
||||
|
||||
|
|
Loading…
Reference in a new issue