feat: add docker-compose for PostgreSQL and initial EF Core migration

This commit is contained in:
Claude Agent
2026-03-19 11:41:43 +01:00
parent 5c03c18ac7
commit 0714961dd6
6 changed files with 881 additions and 1 deletions

17
docker-compose.yml Normal file
View File

@@ -0,0 +1,17 @@
services:
nexusrmm-postgres:
image: postgres:17
container_name: nexusrmm-postgres
environment:
POSTGRES_DB: nexusrmm
POSTGRES_USER: nexusrmm
POSTGRES_PASSWORD: nexusrmm_dev
ports:
- "5433:5432"
volumes:
- nexusrmm_pgdata:/var/lib/postgresql/data
restart: unless-stopped
volumes:
nexusrmm_pgdata:
name: nexusrmm_pgdata