This commit is contained in:
tarasovne 2025-02-23 20:15:28 +03:00
parent c00343a6f2
commit ec75d01b32

View File

@ -3,4 +3,16 @@ services:
build: ./nestjs/backend
ports:
- 3000:3000
restart: unless-stopped
restart: unless-stopped
postgres:
image: postgres:latest
container_name: postgres_container
restart: always
environment:
POSTGRES_USER: nichtar
POSTGRES_PASSWORD: 1234
POSTGRES_DB: todo
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data