feat(auth): Add option to disable registration and tenant creation
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
networks:
|
||||
secnex:
|
||||
driver: bridge
|
||||
|
||||
services:
|
||||
db:
|
||||
container_name: secnex-db
|
||||
image: postgres:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 5432:5432
|
||||
environment:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
- POSTGRES_DB=secnex
|
||||
volumes:
|
||||
- secnex-db-data:/var/lib/postgresql
|
||||
networks:
|
||||
- secnex
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
valkey:
|
||||
container_name: secnex-valkey
|
||||
image: valkey/valkey:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 6379:6379
|
||||
networks:
|
||||
- secnex
|
||||
|
||||
login-api:
|
||||
container_name: secnex-login-api
|
||||
image: git.secnex.io/secnex.platform/login-api:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 3001:3000
|
||||
environment:
|
||||
- ENV=development
|
||||
- DEBUG=true
|
||||
- DATABASE_HOST=db
|
||||
- DATABASE_PORT=5432
|
||||
- DATABASE_USER=postgres
|
||||
- DATABASE_PASSWORD=postgres
|
||||
- DATABASE_NAME=secnex
|
||||
- REDIS_HOST=valkey
|
||||
- REDIS_PORT=6379
|
||||
networks:
|
||||
- secnex
|
||||
depends_on:
|
||||
- db
|
||||
- valkey
|
||||
|
||||
volumes:
|
||||
secnex-db-data:
|
||||
Reference in New Issue
Block a user