Skip to content

Commit

Permalink
doc: make .env_of_api better
Browse files Browse the repository at this point in the history
  • Loading branch information
WGrape committed May 15, 2024
1 parent 0b6f5e5 commit 2f9a0d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions difylocal/templates/.env_of_api
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ FILES_URL=http://127.0.0.1:5001
CELERY_BROKER_URL=redis://:difyai123456@localhost:6379/1

# redis configuration
# this host is the local gateway of ```docker inspect sparrow_container_test_difylocal```
REDIS_HOST=172.20.0.1
REDIS_PORT=3100
REDIS_USERNAME=
REDIS_PASSWORD=secret_redis
REDIS_DB=0

# PostgreSQL database configuration
# this host is the local gateway of ```docker inspect sparrow_container_test_difylocal```
DB_USERNAME=default
DB_PASSWORD=secret
DB_HOST=172.20.0.1
Expand Down

0 comments on commit 2f9a0d3

Please sign in to comment.