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
nebel 501527bde8
All checks were successful
continuous-integration/drone/push Build is passing
'README.md' を更新
2022-12-27 02:52:56 +09:00

36 lines
807 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# γ
[git.fogtype.com](https://git.fogtype.com/) 用 Drone Server & Runner
## Setup
```sh
sudo apt install ansible
ansible-playbook setup.yml
```
詳しい構成は [setup.yml](setup.yml) を参照
## Drone Server & Runner
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
```