-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
powerbi: Set password for project database user. Cleanup temporary fi…
…les. Fix Docker networking. Makefile: - Add env.list target to download env.list - Update setup target to run env.list target and set file permissions - Update createuser target to set password cron.sh: - Use DATABASE_HOST to add host to container - Use DATABASE_PASSWORD to connect to database - Read config.mk and env.list into kingfisher-collect container - Remove temporary files if CARDINAL_DEBUG unset config.mk: - Add DATABASE_PORT and use in Makefile and cron.sh to connect to database - Update MAINTENANCE_DATABASE_USER to default "postgres" - Remove DATABASE_HOST_DOCKER env.list: - Add DATABASE_PASSWORD - Add CARDINAL_DEBUG docs: - Document network access for Docker container
- Loading branch information
1 parent
3786258
commit e130acd
Showing
5 changed files
with
81 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
# The host of the project's database. | ||
# The project's working directory. | ||
CARDINAL_WORKDIR=/home/cardinal | ||
|
||
# The host of the database server. | ||
DATABASE_HOST=localhost | ||
# The port of the database server. | ||
DATABASE_PORT=5432 | ||
# The name of the project's database. | ||
DATABASE_NAME=cardinal | ||
# The user to update to the project's database. | ||
DATABASE_USER=cardinal | ||
|
||
# The user to create the DATABASE_NAME and DATABASE_USER. | ||
MAINTENANCE_DATABASE_USER=$(whoami) | ||
MAINTENANCE_DATABASE_USER=postgres | ||
# The database to which the DATABASE_USER_MAINTENANCE connects. | ||
MAINTENANCE_DATABASE_NAME=postgres | ||
# The host of the project's database, from within the Docker container. | ||
DATABASE_HOST_DOCKER=host.docker.internal | ||
# The project's working directory. | ||
CARDINAL_WORKDIR=/home/cardinal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Set the password of the project database user. | ||
DATABASE_PASSWORD= | ||
|
||
# If non-empty, temporary files aren't deleted. (For debugging.) | ||
CARDINAL_DEBUG= |
Without the variables set as part of the command this is now complaining that "DATABASE_USER: parameter not set"