2021-07-18 19:35:25 +09:00
|
|
|
# ほんの少し降る雨
|
|
|
|
|
|
|
|
## 前提
|
|
|
|
|
|
|
|
- Docker Compose
|
2021-07-18 22:22:31 +09:00
|
|
|
- systemd
|
2021-07-18 19:35:25 +09:00
|
|
|
- systemd-journald
|
|
|
|
|
2021-07-18 19:43:34 +09:00
|
|
|
Git リポジトリを取得し、設定ファイルを配置
|
2021-07-18 19:35:25 +09:00
|
|
|
|
2021-08-21 19:18:11 +09:00
|
|
|
```bash
|
2021-07-18 19:35:25 +09:00
|
|
|
ssh kou029w@keiu.net
|
|
|
|
git clone git@github.com:kou029w/keiu.net.git
|
|
|
|
cd keiu.net
|
2021-08-21 19:18:11 +09:00
|
|
|
sudo install -m 644 {,/}etc/docker/daemon.json
|
2021-07-18 22:22:31 +09:00
|
|
|
sudo systemctl restart docker
|
2021-07-18 19:35:25 +09:00
|
|
|
```
|
|
|
|
|
|
|
|
## 構築
|
|
|
|
|
|
|
|
```sh
|
2022-05-29 21:05:00 +09:00
|
|
|
docker compose up -d
|
2021-07-18 19:35:25 +09:00
|
|
|
```
|