From 437ae66118a8b311c6b7083235abc53753b819f7 Mon Sep 17 00:00:00 2001 From: Zader Zheng Date: Thu, 18 Nov 2021 14:16:24 +0800 Subject: [PATCH] Add PostgreSQL related env in docker compose mode --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 00ad2345..9530976b 100644 --- a/README.md +++ b/README.md @@ -156,6 +156,10 @@ Set the superuser account credentials in the `./config/env.example` file: ADMIN_USERNAME=admin ADMIN_PASSWORD=password ADMIN_EMAIL=admin@example.com + +POSTGRES_USER=doccano +POSTGRES_PASSWORD=doccano +POSTGRES_DB=doccano ``` #### Production @@ -163,7 +167,7 @@ ADMIN_EMAIL=admin@example.com After running the following command, access . ```bash -docker-compose -f docker-compose.prod.yml --env-file ./config/.env.example up +docker-compose -f docker-compose.prod.yml --env-file ./config/env.example up ``` #### Development @@ -171,7 +175,7 @@ docker-compose -f docker-compose.prod.yml --env-file ./config/.env.example up After running the following command, access . If you want to use the admin site, please access . ```bash -docker-compose -f docker-compose.dev.yml --env-file ./config/.env.example up +docker-compose -f docker-compose.dev.yml --env-file ./config/env.example up ``` You can run the the test codes for the backend with the following command: