# Copyright 2025-2026 Thomas Hintz # This file is part of Nassella. # Nassella is free software: you can redistribute it and/or modify it under the # terms of the GNU Affero General Public License as published by the Free # Software Foundation, either version 3 of the License, or (at your option) any # later version. # Nassella is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # You should have received a copy of the GNU Affero General Public License # along with Nassella. If not, see . services: db: image: postgres restart: always environment: POSTGRES_USER: nassella POSTGRES_PASSWORD: password POSTGRES_DB: nassella volumes: - /home/tjhintz/nassella-db:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready", "-U", "nassella"] interval: 1s timeout: 5s retries: 10 ports: - "5432:5432"