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

14 lines
268 B
YAML
Raw Normal View History

2024-07-01 22:38:58 +00:00
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