Cleaning up docker compose logs, fixing postgres health check, turning DEBUG to False on docker.

This commit is contained in:
Samuel Clay 2021-04-28 12:46:07 -04:00
parent ed988ca7bc
commit 105f619e5a
2 changed files with 5 additions and 4 deletions

View file

@ -80,7 +80,7 @@ services:
- POSTGRES_USER=newsblur - POSTGRES_USER=newsblur
- POSTGRES_PASSWORD=newsblur - POSTGRES_PASSWORD=newsblur
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"] test: ["CMD-SHELL", "pg_isready -U newsblur"]
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5

View file

@ -11,15 +11,16 @@ ADMINS = (
SERVER_EMAIL = 'server@newsblur.com' SERVER_EMAIL = 'server@newsblur.com'
HELLO_EMAIL = 'hello@newsblur.com' HELLO_EMAIL = 'hello@newsblur.com'
NEWSBLUR_URL = 'http://www.newsblur.com' NEWSBLUR_URL = 'https://localhost'
SESSION_COOKIE_DOMAIN = 'localhost' SESSION_COOKIE_DOMAIN = 'localhost'
# =================== # ===================
# = Global Settings = # = Global Settings =
# =================== # ===================
DOCKERBUILD = True DOCKERBUILD = True
DEBUG = True DEBUG = False
DEBUG_ASSETS = DEBUG # DEBUG = True
DEBUG_ASSETS = True
MEDIA_URL = '/media/' MEDIA_URL = '/media/'
IMAGES_URL = '/imageproxy' IMAGES_URL = '/imageproxy'
SECRET_KEY = 'YOUR SECRET KEY' SECRET_KEY = 'YOUR SECRET KEY'