mirror of
https://github.com/johndoe6345789/postgres.git
synced 2026-04-24 13:55:00 +00:00
Add complete Postgres Web Admin UI with Material UI and all-in-one Docker
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
postgres-admin:
|
||||
build: .
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "5432:5432"
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://docker:docker@localhost:5432/postgres
|
||||
- JWT_SECRET=your-secret-key-change-in-production
|
||||
- CREATE_ADMIN_USER=true
|
||||
- ADMIN_USERNAME=admin
|
||||
- ADMIN_PASSWORD=admin123
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/15/main
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
Reference in New Issue
Block a user