Sign inSign up

cometa/postgres

By cometa

β€’Updated almost 2 years ago

Image
0

207

cometa/postgres repository overview

⁠🐘 cometa-postgres-service

PostgreSQL database container for the Cometa microservices ecosystem. Provides reliable data storage and is accessible only by the cometa-django-service. Designed for performance and secure data persistence.

More details can be seen at the Backend section on Cometa Rocks GitHub⁠ repo⁠.


⁠🧰 Features

  • PostgreSQL 14+ database over TCP (port 5432)
  • Accepts inbound connections only from:
    • cometa-django-service
  • Data stored via a persistent mount point
  • Lightweight, production-ready setup for Django backend

β βš™οΈ Configuration

PropertyValue
DNScometa-postgres-service
Port5432
Protocoltcp
CPU2 cores
RAM2 GB
Storage4 GB

β πŸ“ Mount Points

External PathInternal Path
./db_data/var/lib/postgresql/data/

All external mounts should be located under the shared /cometadata directory for consistency across services.


β πŸ” Firewall Access

The PostgreSQL container allows inbound connections only from:

  • cometa-django-service

⁠🐳 Usage Example

docker run -d \
  --name cometa-postgres-service \
  -p 5432:5432 \
  -v $(pwd)/db_data:/var/lib/postgresql/data/ \
  -e POSTGRES_USER=cometauser \
  -e POSTGRES_PASSWORD=securepassword \
  -e POSTGRES_DB=cometadb \
  postgres:latest

β πŸ› οΈ Best For

  • Storing data for Django services
  • Structured data persistence in microservice deployments
  • Internal and secure database usage within the Cometa platform

Tag summary

Content type

Image

Digest

sha256:f2340a56c…

Size

126.3 MB

Last updated

over 2 years ago

docker pull cometa/postgres