Merge pull request #369 from grafana/static-url-env-var
Make STATIC_URL configurable from env
This commit is contained in:
commit
4c37e199e9
2 changed files with 1 additions and 2 deletions
|
|
@ -256,7 +256,7 @@ USE_TZ = True
|
|||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/2.1/howto/static-files/
|
||||
|
||||
STATIC_URL = "/static/"
|
||||
STATIC_URL = os.environ.get("STATIC_URL", "/static/")
|
||||
STATIC_ROOT = "./static/"
|
||||
|
||||
CELERY_BROKER_URL = "amqp://rabbitmq:rabbitmq@localhost:5672"
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ STATICFILES_DIRS = [
|
|||
"/etc/app/static",
|
||||
]
|
||||
STATIC_ROOT = "./collected_static/"
|
||||
STATIC_URL = "/static/"
|
||||
|
||||
DEBUG = False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue