mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
WIP: bootstrap for docker
This commit is contained in:
@@ -19,13 +19,17 @@ fi
|
||||
# Base packages
|
||||
apt-get update
|
||||
# apt-get install -y python-pip python-dev nginx curl build-essential pwgen
|
||||
apt-get install -y python-pip
|
||||
|
||||
# Install Docker
|
||||
# TODO: copy script into setup files
|
||||
curl -sSL https://get.docker.com/ | sh
|
||||
|
||||
pip install docker-compose
|
||||
|
||||
# Get docker-compose file
|
||||
wget $FILES_BASE_URL"docker-compose.yml"
|
||||
wget $FILES_BASE_URL"env"
|
||||
# Add to .profile docker compose file location
|
||||
# Setup upstart (?) for docker-compose
|
||||
wget $FILES_BASE_URL"upstart.conf" -O /etc/init/redash-docker.conf
|
||||
@@ -33,3 +37,5 @@ wget $FILES_BASE_URL"upstart.conf" -O /etc/init/redash-docker.conf
|
||||
initctl reload-configuration
|
||||
service redash-docker start
|
||||
# Create database / tables
|
||||
|
||||
# sudo usermod -aG docker your-user
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export REDASH_STATIC_ASSETS_PATH="../rd_ui/dist/"
|
||||
export REDASH_LOG_LEVEL="INFO"
|
||||
export REDASH_REDIS_URL=redis://localhost:6379/1
|
||||
export REDASH_DATABASE_URL="postgresql://redash"
|
||||
export REDASH_COOKIE_SECRET=veryverysecret
|
||||
export REDASH_GOOGLE_APPS_DOMAIN=
|
||||
REDASH_STATIC_ASSETS_PATH=../rd_ui/dist/
|
||||
REDASH_LOG_LEVEL=INFO
|
||||
REDASH_REDIS_URL=redis://redis:6379/0
|
||||
REDASH_DATABASE_URL=postgresql://postgres@postgres/postgres
|
||||
REDASH_COOKIE_SECRET=veryverysecret
|
||||
REDASH_GOOGLE_APPS_DOMAIN=
|
||||
|
||||
Reference in New Issue
Block a user