Update dev container configuration for monorepo
This commit is contained in:
parent
938582155d
commit
60542935c8
6 changed files with 59 additions and 2 deletions
19
.devcontainer/backend/docker-compose.yml
Normal file
19
.devcontainer/backend/docker-compose.yml
Normal 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:
|
Loading…
Add table
Add a link
Reference in a new issue