Update drone and docker

main
mat ess 2022-10-19 20:10:33 -04:00
parent ddd291cc57
commit 8ef2dee496
3 changed files with 22 additions and 15 deletions

View File

@ -1,7 +1,9 @@
app = "rem" # fly.toml file generated for docker-mat-services on 2022-10-19T18:24:52-04:00
app = "docker-mat-services"
kill_signal = "SIGINT" kill_signal = "SIGINT"
kill_timeout = 5 kill_timeout = 5
[[mounts]] [mounts]
destination = "/data" destination = "/data"
source = "data" source = "docker_data"

View File

@ -5,3 +5,6 @@ FROM drone/drone:latest
COPY --from=runner /bin/tmate /bin/ COPY --from=runner /bin/tmate /bin/
COPY --from=runner /bin/drone-runner-docker /bin/ COPY --from=runner /bin/drone-runner-docker /bin/
LABEL com.centurylinklabs.watchtower.stop-signal="SIGINT" LABEL com.centurylinklabs.watchtower.stop-signal="SIGINT"
ENTRYPOINT []
CMD ""

View File

@ -1,32 +1,34 @@
# fly.toml file generated for drone-mat-services on 2022-10-18T23:11:25-04:00 # fly.toml file generated for drone-mat-services on 2022-10-19T18:21:38-04:00
app = "drone-mat-services" app = "drone-mat-services"
kill_signal = "SIGINT" kill_signal = "SIGINT"
kill_timeout = 5 kill_timeout = 5
[processes] [processes]
server = "/bin/drone-server" runner = "/bin/drone-runner-docker"
runner = "/bin/drone-runner-docker" server = "/bin/drone-server"
[build]
[env] [env]
DRONE_GITEA_SERVER = "https://git.mat.services" DRONE_GITEA_SERVER = "https://git.mat.services"
DRONE_SERVER_HOST = "build.mat.services" DRONE_JSONNET_ENABLED = "true"
DRONE_JSONNET_ENABLED = true DRONE_REGISTRATION_CLOSED = "true"
DRONE_REGISTRATION_CLOSED = true
DRONE_RPC_HOST = "localhost"
DRONE_RPC_PROTO = "http" DRONE_RPC_PROTO = "http"
DRONE_SERVER_HOST = "build.mat.services"
DRONE_SERVER_PROTO = "https"
[experimental] [experimental]
allowed_public_ports = [] allowed_public_ports = []
auto_rollback = true auto_rollback = true
[[services]] [mounts]
destination = "/data"
processes = ["server"] processes = ["server"]
source = "drone_data"
[[services]]
http_checks = [] http_checks = []
internal_port = 8080 internal_port = 80
processes = ["app"] processes = ["server"]
protocol = "tcp" protocol = "tcp"
script_checks = [] script_checks = []
[services.concurrency] [services.concurrency]