From ecbe02c525753eda0dc527fcd7b46b64d7bf4894 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Sun, 11 Jul 2021 22:12:14 +0800 Subject: [PATCH] the docker image to DO is not working at all, try git method --- .do/app.yaml | 9 --------- .do/deploy.template.yaml | 9 +++++---- 2 files changed, 5 insertions(+), 13 deletions(-) delete mode 100644 .do/app.yaml diff --git a/.do/app.yaml b/.do/app.yaml deleted file mode 100644 index c544851aa..000000000 --- a/.do/app.yaml +++ /dev/null @@ -1,9 +0,0 @@ -name: uptime-kuma -services: - - name: server - image: - registry_type: DOCKER_HUB - registry: docker.io - repository: louislam/uptime-kuma - http_port: 3001 - diff --git a/.do/deploy.template.yaml b/.do/deploy.template.yaml index eb795c50a..ecbcea7f8 100644 --- a/.do/deploy.template.yaml +++ b/.do/deploy.template.yaml @@ -2,9 +2,10 @@ spec: name: uptime-kuma services: - name: server - image: - registry_type: DOCKER_HUB - registry: docker.io - repository: louislam/uptime-kuma + git: + repo_clone_url: https://github.com/louislam/uptime-kuma + branch: master http_port: 3001 + build_command: npm run setup + run_command: npm run start-server