From fb41cacc913816a96e7440889b1e849251ee1452 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Fri, 4 Jun 2021 12:13:18 +0800 Subject: [PATCH] update --- .drone.yml | 2 +- .env.example | 6 +++--- README.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 71c1704..e13c7e1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,8 +10,8 @@ steps: - name: test image: docker/compose:1.29.2 commands: - - cat .env.example - ls + - cat .env.example - cp .env.example .env - ls - docker-compose config diff --git a/.env.example b/.env.example index 3100e98..527c27d 100644 --- a/.env.example +++ b/.env.example @@ -1,16 +1,16 @@ TZ=Asia/Shanghai # required -IP= +IP=empty # linux DOCKER_SOCK=/var/run/docker.sock # gitea # required -DRONE_GITEA_CLIENT_ID= +DRONE_GITEA_CLIENT_ID=empty # required -DRONE_GITEA_CLIENT_SECRET= +DRONE_GITEA_CLIENT_SECRET=empty # drone DRONE_SERVER_HTTP_PORT=9080 diff --git a/README.md b/README.md index 01d8e34..297c678 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ ## gitea ssh 密钥 -1.执行:sh-keygen -t ed25519 -C "youname@domain.com" 生成:%USERNAME%/.ssh/id_ed25519.pub -2.配置:http://10.10.14.176:3000/user/settings/keys 添加id_ed25519.pub内容作为key +1. 执行:sh-keygen -t ed25519 -C "youname@domain.com" 生成:%USERNAME%/.ssh/id_ed25519.pub +1. 配置:http://10.10.14.176:3000/user/settings/keys 添加id_ed25519.pub内容作为key ## docker compose 显式配置网络后才能访问到宿主机 ip ```