{"id":24373325,"url":"https://github.com/acsany/postgres-dev-container-example","last_synced_at":"2026-04-29T12:36:58.100Z","repository":{"id":272607355,"uuid":"916466814","full_name":"acsany/postgres-dev-container-example","owner":"acsany","description":"Dev Container Example: A Postgres Database in a Docker container","archived":false,"fork":false,"pushed_at":"2025-01-15T13:48:47.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T02:31:05.670Z","etag":null,"topics":["devcontainer","devops","docker","postgres"],"latest_commit_sha":null,"homepage":"","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/acsany.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":"2025-01-14T06:38:25.000Z","updated_at":"2025-01-15T13:48:49.000Z","dependencies_parsed_at":"2025-01-15T15:37:05.532Z","dependency_job_id":"b3c2d791-4cb5-4232-9598-95c8ccf6b2e4","html_url":"https://github.com/acsany/postgres-dev-container-example","commit_stats":null,"previous_names":["acsany/postgres-dev-container-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/acsany/postgres-dev-container-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acsany%2Fpostgres-dev-container-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acsany%2Fpostgres-dev-container-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acsany%2Fpostgres-dev-container-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acsany%2Fpostgres-dev-container-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acsany","download_url":"https://codeload.github.com/acsany/postgres-dev-container-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acsany%2Fpostgres-dev-container-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32426586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T12:24:25.982Z","status":"ssl_error","status_checked_at":"2026-04-29T12:24:24.439Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["devcontainer","devops","docker","postgres"],"created_at":"2025-01-19T05:10:45.483Z","updated_at":"2026-04-29T12:36:58.078Z","avatar_url":"https://github.com/acsany.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Postgres Dev Container Example\n\nThis project uses VS Code Dev Containers to work with a Postgres Database, which runs in its own Docker container.\n\n## Prerequisites\n\n1. Install [Docker Desktop](https://www.docker.com/products/docker-desktop/)\n2. Install [Visual Studio Code](https://code.visualstudio.com/)\n3. Install the [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) in VS Code\n\n## Getting Started\n\n1. Clone this repository to your local machine\n2. Copy the environment file:\n   ```bash\n   cp .env.sample .env\n   ```\n3. Open the project in VS Code\n4. When prompted, click \"Reopen in Container\" or:\n   - Press `F1` or `Cmd/Ctrl + Shift + P`\n   - Type \"Dev Containers: Reopen in Container\"\n   - Press Enter\n\nVS Code will build the dev container and set up the environment. This may take a few minutes the first time.\n\n## Working with the Dev Container\n\n- The container provides a consistent development environment with all necessary dependencies\n- Your code changes are automatically synchronized between your local machine and the container\n- Terminal windows in VS Code will run inside the container\n- Extensions and settings specified in `.devcontainer/devcontainer.json` will be automatically installed\n\n## Database Scripts\n\nThis project includes several shell scripts to manage the database:\n\n1. Initialize the database:\n   ```bash\n   ./scripts/create_table.sh\n   ```\n   Creates the messages table if it doesn't exist.\n\n2. Add a new message:\n   ```bash\n   ./scripts/add_entry.sh \"Your message here\"\n   ```\n   Inserts a new message into the database.\n\n3. View all messages:\n   ```bash\n   ./scripts/show_entries.sh\n   ```\n   Displays all messages in chronological order (newest first).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facsany%2Fpostgres-dev-container-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facsany%2Fpostgres-dev-container-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facsany%2Fpostgres-dev-container-example/lists"}