chore: dockerfile and compose
This commit is contained in:
@@ -1,6 +1,23 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
DB_HOST: postgres
|
||||
DB_PORT: 5432
|
||||
DB_NAME: peakskills
|
||||
DB_USER: peakskills_user
|
||||
DB_PASSWORD: peakskills_password
|
||||
NEXT_PUBLIC_API_URL: ""
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
|
||||
postgres:
|
||||
image: postgres:15
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user