Skip to content

Commit

Permalink
Update examples to use data volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Mancevice committed Jan 15, 2018
1 parent ec34b92 commit 1b836be
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
*/superset/*.db
*/superset/__pycache__
**/*.db
**/__pycache__
2 changes: 1 addition & 1 deletion examples/mysql/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
ports:
- "8088:8088"
volumes:
- ./superset:/etc/superset
- ./superset_config.py:/etc/superset/superset_config.py
volumes:
mysql:
external: false
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/postgres/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
ports:
- "8088:8088"
volumes:
- ./superset:/etc/superset
- ./superset_config.py:/etc/superset/superset_config.py
volumes:
postgres:
external: false
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion examples/sqlite/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ services:
ports:
- "8088:8088"
volumes:
- ./superset:/etc/superset
- ./superset_config.py:/etc/superset/superset_config.py
- ./superset:/var/lib/superset
volumes:
redis:
external: false
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
'CACHE_REDIS_PORT': 6379,
'CACHE_REDIS_DB': 1,
'CACHE_REDIS_URL': 'redis://redis:6379/1'}
SQLALCHEMY_DATABASE_URI = 'sqlite:////etc/superset/superset.db'
SQLALCHEMY_DATABASE_URI = 'sqlite:////var/lib/superset/superset.db'
SQLALCHEMY_TRACK_MODIFICATIONS = True
SECRET_KEY = 'thisISaSECRET_1234'

0 comments on commit 1b836be

Please sign in to comment.