mirror of
https://github.com/lanedirt/AliasVault.git
synced 2025-12-05 19:07:26 -06:00
23 lines
716 B
YAML
23 lines
716 B
YAML
services:
|
|
postgres-dev:
|
|
build:
|
|
context: ..
|
|
dockerfile: apps/server/Databases/AliasServerDb/Dockerfile
|
|
image: aliasvault-postgres-dev
|
|
ports:
|
|
- "5433:5432"
|
|
volumes:
|
|
- ../database/postgres-dev:/var/lib/postgresql/data:rw
|
|
- ../apps/server/Databases/AliasServerDb/postgresql.conf:/etc/postgresql/postgresql.conf
|
|
environment:
|
|
- POSTGRES_DB=aliasvault
|
|
- POSTGRES_USER=aliasvault
|
|
- POSTGRES_PASSWORD=password
|
|
restart: "no"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U aliasvault"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 10s
|
|
command: ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"] |