temp #5
14
compose.yml
14
compose.yml
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user