Skip to content

Commit

Permalink
Set hostname for docker DB restore so we don't leave it unpopulated
Browse files Browse the repository at this point in the history
Also, remove a print statement
  • Loading branch information
haydngreatnews committed Sep 3, 2024
1 parent 45c5b66 commit e9a4ca8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion cdhweb/pages/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def get_queryset(self):
form = self.get_form()

if not form.is_valid():
print(form.errors)
return queryset.none()

# get keyword query; support filters & phrase matching with double quotes
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ services:
volumes:
- "./docker/database:/docker-entrypoint-initdb.d/:ro"
environment:
WAGTAIL_SITE_HOSTNAME: "${SITE_HOSTNAME}"
WAGTAIL_SITE_HOSTNAME: "cdh.dev.springload.nz"
WAGTAIL_SITE_PORT: "443"
POSTGRES_DB: "cdhweb"
POSTGRES_USER: "cdhweb"
Expand Down

0 comments on commit e9a4ca8

Please sign in to comment.