feat: scaffold relay client auth workspace
This commit is contained in:
32
docker-compose.yml
Normal file
32
docker-compose.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
ports:
|
||||
- "6379:6379"
|
||||
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
environment:
|
||||
POSTGRES_USER: dvv
|
||||
POSTGRES_PASSWORD: dvv
|
||||
POSTGRES_DB: dvv
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- ./db/schema.sql:/docker-entrypoint-initdb.d/001-schema.sql:ro
|
||||
|
||||
auth-api:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.auth-api
|
||||
environment:
|
||||
AUTH_BIND: 0.0.0.0:8080
|
||||
JWT_SECRET: dev-secret-change-me
|
||||
REDIS_URL: redis://redis:6379
|
||||
depends_on:
|
||||
- redis
|
||||
ports:
|
||||
- "8080:8080"
|
||||
|
||||
Reference in New Issue
Block a user