mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-19 14:15:22 +02:00
- Removed the external dokploy-network configuration from various services' docker-compose.yml files to streamline network management. - This change simplifies the setup and ensures consistency across blueprints.
34 lines
765 B
YAML
34 lines
765 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
peppermint-postgres:
|
|
image: postgres:latest
|
|
restart: always
|
|
|
|
volumes:
|
|
- peppermint-postgres-data:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_USER: peppermint
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
POSTGRES_DB: peppermint
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U peppermint"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
peppermint-app:
|
|
image: pepperlabs/peppermint:latest
|
|
restart: always
|
|
|
|
depends_on:
|
|
peppermint-postgres:
|
|
condition: service_healthy
|
|
environment:
|
|
DB_USERNAME: "peppermint"
|
|
DB_PASSWORD: ${POSTGRES_PASSWORD}
|
|
DB_HOST: "peppermint-postgres"
|
|
SECRET: ${SECRET}
|
|
|
|
volumes:
|
|
peppermint-postgres-data: |