Browse Source

Merge pull request #1566 from YuMS/patch-1

Add PostgreSQL related env in docker compose mode
pull/1570/head
Hiroki Nakayama 3 years ago
committed by GitHub
parent
commit
0b10a4acc1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 1 deletions
  1. 12
      README.md

12
README.md

@ -150,12 +150,22 @@ _Note for Windows developers:_ Be sure to configure git to correctly handle line
git clone https://github.com/doccano/doccano.git --config core.autocrlf=input
```
Set the superuser account credentials in the `./config/env.example` file:
Then, create an `.env` file with variables in the following format(see [./config/.env.example](https://github.com/doccano/doccano/blob/master/config/.env.example)):
```plain
# platform settings
ADMIN_USERNAME=admin
ADMIN_PASSWORD=password
ADMIN_EMAIL=admin@example.com
# rabbit mq settings
RABBITMQ_DEFAULT_USER=doccano
RABBITMQ_DEFAULT_PASS=doccano
# database settings
POSTGRES_USER=doccano
POSTGRES_PASSWORD=doccano
POSTGRES_DB=doccano
```
#### Production

Loading…
Cancel
Save