20 lines
405 B
YAML
20 lines
405 B
YAML
|
services:
|
||
|
app:
|
||
|
image: mcr.microsoft.com/devcontainers/python:3.12-bookworm
|
||
|
volumes:
|
||
|
- ..:/workspace: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:
|