{"id":22326020,"url":"https://github.com/solarnetwork/solarnetwork-postgres-docker","last_synced_at":"2025-03-26T06:11:36.522Z","repository":{"id":255753708,"uuid":"818495545","full_name":"SolarNetwork/solarnetwork-postgres-docker","owner":"SolarNetwork","description":"A Docker configuration for a Postgres database instance configured for SolarNetwork development.","archived":false,"fork":false,"pushed_at":"2024-09-06T23:07:46.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-31T07:32:04.074Z","etag":null,"topics":["dockerfile","postgresql","solarnetwork"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SolarNetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-22T02:11:08.000Z","updated_at":"2024-09-06T23:07:49.000Z","dependencies_parsed_at":"2024-09-07T01:40:26.460Z","dependency_job_id":"e5d2d34f-c858-4cdc-b017-edef8a31e0ad","html_url":"https://github.com/SolarNetwork/solarnetwork-postgres-docker","commit_stats":null,"previous_names":["solarnetwork/solarnetwork-postgres-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolarNetwork%2Fsolarnetwork-postgres-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolarNetwork%2Fsolarnetwork-postgres-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolarNetwork%2Fsolarnetwork-postgres-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolarNetwork%2Fsolarnetwork-postgres-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SolarNetwork","download_url":"https://codeload.github.com/SolarNetwork/solarnetwork-postgres-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245598320,"owners_count":20641884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dockerfile","postgresql","solarnetwork"],"created_at":"2024-12-04T02:15:05.075Z","updated_at":"2025-03-26T06:11:36.503Z","avatar_url":"https://github.com/SolarNetwork.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SolarNetwork Developer Postgres Database Docker\n\nThis project contains a Docker configuration for a Postgres database instance\nconfigured for SolarNetwork development. The container will be initialized with\ntwo databases, owned by two database users:\n\n| Owner       | Password    | Database                |\n| :---------- | :---------- | :---------------------- |\n| `solarnet`  | `solarnet`  | `solarnetwork`          |\n| `solartest` | `solartest` | `solarnetwork_unittest` |\n\nThe database administrative user is `postgres` with password `postgres`.\n\n# Building\n\nYou can use `make` with the following targets:\n\n| Target    | Description                                          |\n| :-------- | :--------------------------------------------------- |\n| `build`   | Create the Docker image                              |\n| `rebuild` | Create the Docker image, ignoring any cached layers. |\n| `run`     | Launch the container                                 |\n| `start`   | Start a previously stopped container                 |\n| `stop`    | Stop a launched container                            |\n| `remove`  | Remove the container.                                |\n\n# Customize the Postgres port\n\nBy default Postgres will be listening on port `5432`. You can customize that\nby passing `PORT=X` to the `run` target, like\n\n```sh\nmake run PORT=1234\n```\n\n# Multi-platform build\n\nYou can use the `BUILD_OPTS` parameter to build a [multi-platform image][mp], like\n\n```sh\nmake build BUILD_OPTS=\"--platform linux/amd64,linux/arm64\"\n```\n\n[mp]: https://docs.docker.com/build/building/multi-platform/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolarnetwork%2Fsolarnetwork-postgres-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolarnetwork%2Fsolarnetwork-postgres-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolarnetwork%2Fsolarnetwork-postgres-docker/lists"}