feat: started working with api
This commit is contained in:
@@ -1,5 +1,18 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:17-alpine
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_USER: ${DB_USER:-postgres}
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD:-postgres}
|
||||
POSTGRES_DB: ${DB_NAME:-postgres}
|
||||
ports:
|
||||
- "${DB_PORT:-5432}:5432"
|
||||
volumes:
|
||||
- db_data:/var/lib/postgresql/data
|
||||
app:
|
||||
build: .
|
||||
ports:
|
||||
- "3900:3000"
|
||||
- "3900:3000"
|
||||
volumes:
|
||||
db_data:
|
||||
Reference in New Issue
Block a user