fix(docker): add credentials fields to auth provider, postgres service, expose port 5433, AUTH_URL/AUTH_TRUST_HOST in env example

This commit is contained in:
Chandler Copeland
2026-04-03 17:21:01 -06:00
parent 3da9610c6f
commit 07cfaf0511
4 changed files with 29 additions and 3 deletions

View File

@@ -1,11 +1,28 @@
services:
db:
image: postgres:16-alpine
restart: unless-stopped
ports:
- "5433:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: teressa
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
app:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
ports:
- "3000:3000"
- "3001:3000"
env_file:
- .env.production
environment:
@@ -15,6 +32,10 @@ services:
- 1.1.1.1
volumes:
- uploads:/app/uploads
depends_on:
db:
condition: service_healthy
volumes:
uploads:
pgdata: