diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml new file mode 100644 index 0000000..d5bc5ce --- /dev/null +++ b/docker-compose.dev.yml @@ -0,0 +1,20 @@ +services: + db: + image: postgres:17-alpine + restart: unless-stopped + environment: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: root + POSTGRES_DB: mantle_dev + ports: + - "5432:5432" + volumes: + - mantle_db_data:/var/lib/postgresql + healthcheck: + test: ["CMD-SHELL", "pg_isready -U postgres -d mantle"] + interval: 5s + timeout: 5s + retries: 5 + +volumes: + mantle_db_data: