code-examples/2024/07/spring_demo1/scripts/dev/compose.yml

14 lines
268 B
YAML

services:
# app:
# image: spring-demo1:latest
# ports:
# - "8080:8080"
db:
image: postgres:latest
environment:
POSTGRES_PASSWORD: secret
ports:
- "5432:5432"
volumes:
- /opt/pg-data:/var/lib/postgresql/data