Update dev container configuration for monorepo

This commit is contained in:
Oliver Traber 2025-03-13 21:47:18 +00:00
parent 938582155d
commit 60542935c8
Signed by: Bluemedia
GPG key ID: C0674B105057136C
6 changed files with 59 additions and 2 deletions

View file

@ -0,0 +1,19 @@
services:
app:
image: mcr.microsoft.com/devcontainers/python:3.12-bookworm
volumes:
- ../..:/simple-ocpp-cs:cached
command: sleep infinity
db:
image: postgres:17
restart: unless-stopped
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: postgres
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
volumes:
postgres-data: