Compare commits

...

2 Commits

2 changed files with 4 additions and 2 deletions

View File

@ -205,7 +205,9 @@ serve-backend:
--test-backend:
stack build --test --coverage --fast --flag uniworx:library-only $(stackopts)
.PHONY: --db-%-backend
# HELP(db-cf-backend): clear and fill database. requires running postgres
# TODO (db-m-$MIGRATION-backend): apply migration (see src/Model/Migration/Definition.hs for list of available migrations)
PHONY: --db-%-backend
--db-%-dev-backend: .stack
SERVER_SESSION_ACID_FALLBACK=${SERVER_SESSION_ACID_FALLBACK:-true} ; \
AVSPASS=${AVSPASS:-nopasswordset} ; \

View File

@ -123,7 +123,7 @@ auth-pw-hash:
database:
user: "_env:PGUSER:uniworx"
password: "_env:PGPASS:uniworx"
host: "_env:PGHOST:host.docker.internal"
host: "_env:PGHOST:localhost"
port: "_env:PGPORT:5432"
# See config/test-settings.yml for an override during tests
database: "_env:PGDATABASE:uniworx"