From 66e66d8c262f4718a3d807a687e144a1baef4cd1 Mon Sep 17 00:00:00 2001 From: Ryan W Date: Sat, 13 Nov 2021 17:23:06 -0800 Subject: [PATCH] Default db config --- .env.example | 3 +++ README.md | 1 + 2 files changed, 4 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..e60e932 --- /dev/null +++ b/.env.example @@ -0,0 +1,3 @@ +PGHOST=db +PGUSER=postgres +PGPASSWORD=changeme diff --git a/README.md b/README.md index 5db657d..71fd767 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ This app demonstrates Rails 7 with PostgreSQL, import maps, turbo, stimulus and ## Initial setup ``` +cp .env.example .env docker compose build docker compose run --rm web bin/rails db:setup ```