This repository has been archived on 2024-01-05. You can view files and clone it, but cannot push or open issues or pull requests.
gamma.fogtype.com/README.md

37 lines
817 B
Markdown
Raw Normal View History

2022-12-26 00:25:28 +09:00
# γ
2022-12-26 22:56:37 +09:00
[git.fogtype.com](https://git.fogtype.com/) 用 Drone Server & Runner
2022-12-26 00:25:28 +09:00
## Setup
```sh
2022-12-26 00:35:13 +09:00
sudo apt install ansible docker-ce
2022-12-26 00:25:28 +09:00
ansible-playbook setup.yml
```
詳しい構成は [setup.yml](setup.yml) を参照
2022-12-26 22:56:37 +09:00
2022-12-26 23:39:15 +09:00
## Drone Server & Runner
2022-12-26 22:56:37 +09:00
Gitea への導入
: https://docs.drone.io/server/provider/gitea/
| 項目 | 値 |
| ---------------- | ------------------------------- |
| Application Name | gamma |
| Redirect URI | https://gamma.fogtype.com/login |
```bash
install -m 600 .env{.example,}
echo DRONE_RPC_SECRET=$(openssl rand -hex 16) >> .env
# .envファイルに適切な設定をする
```
### Deploy
```bash
docker context create --docker=host=ssh://ubuntu@gamma.fogtype.com gamma
docker context use gamma
docker compose up -d
```