From 86851c8b0a30f6301b1c5e18539edaf983e0e387 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sun, 18 Jul 2021 19:42:13 +0900 Subject: [PATCH] use install --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index ff1ddd8..3e2f8fc 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,6 @@ sudo tee /etc/docker/daemon.json < etc/docker/daemon.json ## 構築 ```sh -echo POSTGRES_PASSWORD=$(python3 -c 'import secrets; print(secrets.token_urlsafe())') >> .env -chmod 600 .env +install -m 600 <(echo POSTGRES_PASSWORD=$(python3 -c 'import secrets; print(secrets.token_urlsafe())')) .env docker-compose up -d ```