1
0
Fork 0
mirror of https://github.com/kou029w/fogtype.com synced 2025-01-18 08:05:02 +00:00
This commit is contained in:
Nebel 2021-07-18 19:43:34 +09:00 committed by GitHub
parent 86851c8b0a
commit d065fa6749
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,18 +5,18 @@
- Docker Compose
- systemd-journald
Git リポジトリを取得し、 /etc/docker/daemon.json を配置
Git リポジトリを取得し、設定ファイルを配置
```sh
ssh kou029w@keiu.net
git clone git@github.com:kou029w/keiu.net.git
cd keiu.net
sudo tee /etc/docker/daemon.json < etc/docker/daemon.json
install -m 600 <(echo POSTGRES_PASSWORD=$(python3 -c 'import secrets; print(secrets.token_urlsafe())')) .env
```
## 構築
```sh
install -m 600 <(echo POSTGRES_PASSWORD=$(python3 -c 'import secrets; print(secrets.token_urlsafe())')) .env
docker-compose up -d
```