{"id":22288231,"url":"https://github.com/xithrius/infra.xithrius.cloud","last_synced_at":"2025-07-31T14:42:45.514Z","repository":{"id":275017129,"uuid":"759199939","full_name":"Xithrius/infra.xithrius.cloud","owner":"Xithrius","description":"Infrastructure configuration for xithrius.cloud services","archived":false,"fork":false,"pushed_at":"2025-03-23T04:04:14.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T05:18:20.667Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xithrius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-17T23:16:27.000Z","updated_at":"2025-03-23T04:04:17.000Z","dependencies_parsed_at":"2025-03-23T05:28:16.702Z","dependency_job_id":null,"html_url":"https://github.com/Xithrius/infra.xithrius.cloud","commit_stats":null,"previous_names":["xithrius/infra.xithrius.cloud"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xithrius%2Finfra.xithrius.cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xithrius%2Finfra.xithrius.cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xithrius%2Finfra.xithrius.cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xithrius%2Finfra.xithrius.cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xithrius","download_url":"https://codeload.github.com/Xithrius/infra.xithrius.cloud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245543426,"owners_count":20632648,"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":[],"created_at":"2024-12-03T17:02:07.204Z","updated_at":"2025-03-25T21:18:58.982Z","avatar_url":"https://github.com/Xithrius.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# infra.xithrius.cloud\n\nInfrastructure configuration for xithrius.cloud services\n\n## PostgreSQL setup\n\n1. Copy `.env.sample` to `.env`\n\nThen place credentials into any key starting with `POSTGRES_`. These will be credentials for the elevated user.\n\n2. Create database and user (optional)\n\nIf the database and/or user already exist, then they will not be modified.\n\nUsing the credentials you put into the `.env` file,\n\n\u003e [!IMPORTANT]\n\u003e Put a space before the command in your prompt if you don't want it to be recorded in bash history\n\nOrder of arguments: elevated username, new database name, new user's name, new user's password:\n\n```bash\n ./scripts/postgres-user-database.sh elevated_user databasename asdf very_important_password\n```\n\n3. Make sure all is well by connecting to the database\n\n```bash\ndocker exec -it infraxithriuscloud-postgres-1 psql -U auser -d databasename\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxithrius%2Finfra.xithrius.cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxithrius%2Finfra.xithrius.cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxithrius%2Finfra.xithrius.cloud/lists"}