PostgreSQL

Framework
PostgreSQL
Category
Databases
Publisher
Jetify
{
  "packages": {
    "postgresql": "latest",
    "glibcLocales": {
      "version":   "latest",
      "platforms": ["x86_64-linux", "aarch64-linux"]
    }
  },
  "shell": {
    "init_hook": null
  }
}

postgresql-14.6

postgresql Notes

You need to initialize and create a database as part of your setup.

  1. Initialize a DB by running initdb
  2. Start the Postgres server using devbox services up
  3. Create a database using createdb <name_of_db>
  4. You can now connect to the database from the command line by running psql <name_of_db>

To start the database manually run pg_ctl -l .devbox/conf/postgresql/logfile start. To stop use pg_ctl stop.

Services

  • postgresql

Use devbox services start|stop [service] to interact with services

This plugin sets the following environment variables

  • PGDATA=//.devbox/conf/postgresql/data
  • PGHOST=//.devbox/virtenv/postgresql

To show this information, run devbox info postgresql

README.md

Level up your dev environment

No need to switch your style. Devbox works with any coding language, so you can get results as you write.
PREPARE FOR LAUNCH

Plans for teams of any size

Jetify Cloud offers pricing plans for Solo Developers to Large Enterprises, and everything in between. All plans include free credits, and you are only billed for what you use. Need something custom? Contact our team and we can help.
YOUR INPUT COUNTS

Join the community

Discuss ideas, uses and builds with the Jetify team and others.