mirror of
https://github.com/jetkvm/cloud-api.git
synced 2026-05-21 05:20:36 +00:00
46d56cb978
* feat: add seed script for development with test users, devices, and release data * feat: add development Docker Compose configuration and update README for local setup
25 lines
475 B
YAML
25 lines
475 B
YAML
name: jetkvm-cloud-api-dev
|
|
|
|
services:
|
|
db:
|
|
image: postgres
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_PASSWORD: jetkvm
|
|
POSTGRES_USER: jetkvm
|
|
POSTGRES_DB: jetkvm
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U jetkvm -d jetkvm"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 10
|
|
start_period: 5s
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- postgresql:/var/lib/postgresql
|
|
|
|
volumes:
|
|
postgresql:
|
|
driver: local
|