Skip to content

PostgreSQL

Web.Casa provides full lifecycle management for PostgreSQL through Docker-based instances. Create, configure, and administer PostgreSQL databases entirely from the web panel.

Each PostgreSQL instance runs as an isolated Docker container.

  1. Navigate to Databases and click Create Instance.
  2. Select PostgreSQL as the engine.
  3. Configure the instance name and superuser password.
  4. Optionally select a preset (Development or Production).
  5. Click Create to spin up the container.
ActionDescription
StartBoot the container and accept connections
StopGracefully shut down the instance
DeleteRemove the container and all associated data

Deleting an instance is irreversible. Back up your databases before deleting.

Each instance provides ready-to-use connection details in multiple formats:

  • CLI command — psql command ready to paste into a terminal
  • Connection URI — postgresql://user:password@host:port/dbname for application configs
  • Environment variable — DATABASE_URL=... for .env files
  • Docker internal address — for services running in the same Docker network
  1. Open your PostgreSQL instance.
  2. Go to the Databases tab and click Create Database.
  3. Enter a database name.
  4. Configure character set options as needed.
  5. Click Create.

Select a database from the list and click Drop. Confirm the action in the dialog.

Dropping a database permanently deletes all schemas, tables, and data within it.

  1. Go to the Users tab and click Create User.
  2. Set the username and password.
  3. Click Create.

After creating a user, grant them access to one or more databases:

  1. Select the user from the list.
  2. Choose the target database(s).
  3. Click Grant Access.

Select a user and click Drop to remove them and revoke all associated privileges.

The built-in SQL console lets you execute queries against any PostgreSQL instance directly from the browser:

  • Write and run SQL statements with results displayed in a tabular format
  • Switch between instances and databases from a dropdown
  • View query execution time and row counts

The query console is read-only — only SELECT, SHOW, DESCRIBE, and EXPLAIN statements are allowed.

The query console works across all PostgreSQL instances managed by Web.Casa.

Fine-tune instance performance through the Settings tab. You can also apply a Development or Production preset as a starting point.

ParameterDescriptionDefault (Dev)
Shared BuffersMemory for caching data blocks64 MB
Work MemMemory per query operation (sort, hash)2 MB
Effective Cache SizePlanner’s estimate of OS disk cache available192 MB
WAL LevelWrite-Ahead Log detail level (minimal, replica, logical)replica
Slow Query ThresholdLog queries exceeding this duration2000 ms

Production preset increases shared buffers, work memory, and effective cache size for higher throughput under concurrent workloads. Development preset uses conservative resource limits suitable for local work.

In addition to PostgreSQL instances, Web.Casa includes a built-in SQLite browser for inspecting local .sqlite / .db files:

  • Open SQLite files within the panel data directory (restricted to .db, .sqlite, .sqlite3 extensions)
  • Browse tables and data in read-only mode
  • View schema definitions (tables, columns, indexes)

The SQLite browser is read-only and does not modify the original file.