Files
databasus/docker-compose.yml.example
2025-06-08 14:34:42 +03:00

32 lines
765 B
Plaintext

version: "3"
# Do not use this file in production or VPS. This
# file is indended for local development only. To
# run on your machine - read README.md
services:
# For local development only to test build. Do
# not use in production or VPS
postgresus-local:
build:
context: .
dockerfile: Dockerfile
ports:
- "4005:4005"
depends_on:
- postgresus-db
postgresus-db:
image: postgres:17
# we use default values, but do not expose
# PostgreSQL ports so it is safe
environment:
- POSTGRES_DB=postgresus
- POSTGRES_USER=postgresus
- POSTGRES_PASSWORD=postgresus
volumes:
- ./pgdata:/var/lib/postgresql/data
container_name: postgresus-db
command: -p 5437
shm_size: 10gb