-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
667fd79
commit fe3c7ab
Showing
3 changed files
with
54 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,24 @@ | ||
|
||
W9_NAME=redash | ||
W9_DIST=community | ||
W9_REPO=redash/redash | ||
W9_VERSION=latest | ||
W9_HTTP_PORT=9001 | ||
W9_POWER_PASSWORD=1PrMxExC45LsCT | ||
|
||
W9_ID=redash | ||
W9_HTTP_PORT_SET=9001 | ||
W9_HTTP_PORT=5000 | ||
|
||
W9_URL=appname.example.com | ||
|
||
W9_NETWORK=websoft9 | ||
|
||
# environments from Redash | ||
# refer to: https://github.com/getredash/setup/blob/master/setup.sh | ||
# refer to: https://redash.io/help/open-source/setup#-Setup | ||
|
||
PYTHONUNBUFFERED=0 | ||
REDASH_LOG_LEVEL=INFO | ||
REDASH_REDIS_URL=redis://${W9_ID}-redis:6379/0 | ||
POSTGRES_PASSWORD=$W9_POWER_PASSWORD | ||
REDASH_COOKIE_SECRET=$W9_POWER_PASSWORD | ||
REDASH_SECRET_KEY=$W9_POWER_PASSWORD | ||
REDASH_DATABASE_URL="postgresql://postgres:${POSTGRES_PASSWORD}@postgres/postgres" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
# Redash | ||
# Redash | ||
|
||
- environments is get from setup.sh | ||
- after docker compose up, should run at redash container (the same with 【sudo docker-compose run --rm server create_db】), why? | ||
``` | ||
./manage.py database create_tables | ||
``` | ||
- Nginx container is not need |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters