mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Ease switching of database engines for docker builds (#8863)
This commit is contained in:
committed by
Daniel Vaz Gaspar
parent
3a468a53d9
commit
d0efd0e4c9
26
docker/.env
26
docker/.env
@@ -15,11 +15,25 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
COMPOSE_PROJECT_NAME=superset
|
||||
POSTGRES_DB=superset
|
||||
POSTGRES_HOST=postgres
|
||||
POSTGRES_PASSWORD=superset
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_USER=superset
|
||||
|
||||
# database configurations (do not modify)
|
||||
DATABASE_DB=superset
|
||||
DATABASE_HOST=db
|
||||
DATABASE_PASSWORD=superset
|
||||
DATABASE_USER=superset
|
||||
|
||||
# database engine specific environment variables
|
||||
# change the below if you prefers another database engine
|
||||
DATABASE_PORT=5432
|
||||
DATABASE_DIALECT=postgresql
|
||||
POSTGRES_DB=${DATABASE_DB}
|
||||
POSTGRES_USER=${DATABASE_USER}
|
||||
POSTGRES_PASSWORD=${DATABASE_PASSWORD}
|
||||
#MYSQL_DATABASE=${DATABASE_DB}
|
||||
#MYSQL_USER=${DATABASE_USER}
|
||||
#MYSQL_PASSWORD=${DATABASE_PASSWORD}
|
||||
#MYSQL_RANDOM_ROOT_PASSWORD=yes
|
||||
|
||||
# Add the mapped in /app/pythonpath_docker which allows devs to override stuff
|
||||
PYTHONPATH=/app/pythonpath:/app/pythonpath_docker
|
||||
REDIS_HOST=redis
|
||||
@@ -27,4 +41,4 @@ REDIS_PORT=6379
|
||||
|
||||
FLASK_ENV=development
|
||||
SUPERSET_ENV=development
|
||||
SUPERSET_LOAD_EXAMPLES=yes
|
||||
SUPERSET_LOAD_EXAMPLES=yes
|
||||
|
||||
Reference in New Issue
Block a user