mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-04 18:00:20 +00:00
Add restart param to drone
This commit is contained in:
parent
f5d42129dd
commit
1cc2a0fec8
@ -24,6 +24,7 @@ labels = [
|
|||||||
[services.drone]
|
[services.drone]
|
||||||
image = "drone/drone:2"
|
image = "drone/drone:2"
|
||||||
container_name = "drone"
|
container_name = "drone"
|
||||||
|
restart = "unless-stopped"
|
||||||
volumes = ["/docker/drone:/data"]
|
volumes = ["/docker/drone:/data"]
|
||||||
environment = [
|
environment = [
|
||||||
"DRONE_GITEA_SERVER=https://git.korhonen.cc",
|
"DRONE_GITEA_SERVER=https://git.korhonen.cc",
|
||||||
@ -52,6 +53,7 @@ labels = [
|
|||||||
[services.drone-runner]
|
[services.drone-runner]
|
||||||
image = "drone/drone-runner-docker:1"
|
image = "drone/drone-runner-docker:1"
|
||||||
container_name = "drone-runner"
|
container_name = "drone-runner"
|
||||||
|
restart = "unless-stopped"
|
||||||
volumes = ["/var/run/docker.sock:/var/run/docker.sock"]
|
volumes = ["/var/run/docker.sock:/var/run/docker.sock"]
|
||||||
environment = [
|
environment = [
|
||||||
"DRONE_RPC_HOST=drone.korhonen.cc",
|
"DRONE_RPC_HOST=drone.korhonen.cc",
|
||||||
|
Loading…
Reference in New Issue
Block a user