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_timeout = 5
[[mounts]]
[mounts]
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/drone-runner-docker /bin/
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"
kill_signal = "SIGINT"
kill_timeout = 5
[processes]
server = "/bin/drone-server"
runner = "/bin/drone-runner-docker"
[build]
server = "/bin/drone-server"
[env]
DRONE_GITEA_SERVER = "https://git.mat.services"
DRONE_SERVER_HOST = "build.mat.services"
DRONE_JSONNET_ENABLED = true
DRONE_REGISTRATION_CLOSED = true
DRONE_RPC_HOST = "localhost"
DRONE_JSONNET_ENABLED = "true"
DRONE_REGISTRATION_CLOSED = "true"
DRONE_RPC_PROTO = "http"
DRONE_SERVER_HOST = "build.mat.services"
DRONE_SERVER_PROTO = "https"
[experimental]
allowed_public_ports = []
auto_rollback = true
[[services]]
[mounts]
destination = "/data"
processes = ["server"]
source = "drone_data"
[[services]]
http_checks = []
internal_port = 8080
processes = ["app"]
internal_port = 80
processes = ["server"]
protocol = "tcp"
script_checks = []
[services.concurrency]