mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-12-17 05:41:58 +09:00
Add debugBackend module with database and security setup
Introduced a new `debugBackend` module to support debugging and development tasks. This includes configuration for PostgreSQL, Redis, Hibernate, Spring Boot, and a basic security setup. Also added required entities, repositories, and runtime hints for SnapAdmin integration.
This commit is contained in:
21
debugBackend/compose.yaml
Normal file
21
debugBackend/compose.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
pgvector:
|
||||
image: 'pgvector/pgvector:pg16'
|
||||
environment:
|
||||
- 'POSTGRES_DB=mydatabase'
|
||||
- 'POSTGRES_PASSWORD=secret'
|
||||
- 'POSTGRES_USER=myuser'
|
||||
labels:
|
||||
- "org.springframework.boot.service-connection=postgres"
|
||||
ports:
|
||||
- target: 5432
|
||||
published: 55432
|
||||
protocol: tcp
|
||||
volumes:
|
||||
- postgresql:/var/lib/postgresql/data
|
||||
redis:
|
||||
image: 'redis:latest'
|
||||
ports:
|
||||
- '6379'
|
||||
volumes:
|
||||
postgresql:
|
||||
Reference in New Issue
Block a user