21 lines
381 B
YAML
21 lines
381 B
YAML
services:
|
|
postgres:
|
|
container_name: postgres
|
|
image: postgres:latest
|
|
restart: always
|
|
environment:
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
ports:
|
|
- 5433:5432
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
networks:
|
|
- nestjs-course
|
|
|
|
volumes:
|
|
postgres_data:
|
|
|
|
networks:
|
|
nestjs-course:
|