feat: Rebrand to License Authority with Govt of Goa branding

- Replace TLAS with License Authority throughout documentation
- Add Government of Goa emblem/logo (Ashoka Chakra style)
- Update frontend branding to match documentation
- Add configurable Swagger API link via VITE_API_BASE_URL env var
- Fix Docker build for VitePress (git dependency, .dockerignore)
- Fix helmet security headers for HTTP deployments
- Add CORS support for VM deployment

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Mahi
2026-02-10 00:46:25 -04:00
parent 435889ee79
commit 6ec8d3236d
34 changed files with 203 additions and 113 deletions

View File

@@ -16,7 +16,7 @@
```bash
# Daily full backup (runs at 02:00 UTC)
pg_dump -Fc tlas_prod > /backups/tlas_$(date +%Y%m%d).dump
pg_dump -Fc license_prod > /backups/license_$(date +%Y%m%d).dump
# Hourly WAL archiving
archive_command = 'cp %p /backups/wal/%f'
@@ -26,7 +26,7 @@ archive_command = 'cp %p /backups/wal/%f'
```bash
# Create backup
docker exec postgres pg_dump -U tlas -Fc tlas_prod > backup.dump
docker exec postgres pg_dump -U license_app -Fc license_prod > backup.dump
# Verify backup
pg_restore --list backup.dump
@@ -41,10 +41,10 @@ pg_restore --list backup.dump
docker-compose stop api
# Restore database
pg_restore -d tlas_prod -c backup.dump
pg_restore -d license_prod -c backup.dump
# Verify data
psql -d tlas_prod -c "SELECT COUNT(*) FROM applications;"
psql -d license_prod -c "SELECT COUNT(*) FROM applications;"
# Restart application
docker-compose start api

View File

@@ -16,9 +16,9 @@
|----------|-------------|---------|
| `DB_HOST` | PostgreSQL host | `postgres.internal` |
| `DB_PORT` | PostgreSQL port | `5432` |
| `DB_USER` | Database user | `tlas_app` |
| `DB_USER` | Database user | `license_app` |
| `DB_PASSWORD` | Database password | `<secure>` |
| `DB_NAME` | Database name | `tlas_prod` |
| `DB_NAME` | Database name | `license_prod` |
### Authentication
@@ -53,8 +53,8 @@ server:
port: 3000
cors:
origins:
- https://tlas.gov.in
- https://admin.tlas.gov.in
- https://license.gov.in
- https://admin.license.gov.in
database:
pool:

View File

@@ -60,8 +60,8 @@
```bash
# Clone repository
git clone https://github.com/goa-gel/tlas.git
cd tlas
git clone https://github.com/goa-gel/license-authority.git
cd license-authority
# Configure environment
cp .env.example .env

View File

@@ -25,8 +25,8 @@ sudo apt install docker-compose-plugin
```bash
# Clone repository
git clone https://github.com/goa-gel/tlas.git
cd tlas
git clone https://github.com/goa-gel/license-authority.git
cd license-authority
# Copy environment template
cp .env.example .env
@@ -38,9 +38,9 @@ Edit `.env` with required values:
# Database
DB_HOST=postgres
DB_PORT=5432
DB_USER=tlas
DB_USER=license_app
DB_PASSWORD=<secure-password>
DB_NAME=tlas
DB_NAME=license_db
# JWT
JWT_SECRET=<64-character-random-string>

View File

@@ -71,7 +71,7 @@
Access Grafana dashboards at:
```
https://monitoring.tlas.gov.in/grafana
https://monitoring.license.gov.in/grafana
```
Dashboards available:

View File

@@ -52,7 +52,7 @@ add_header Content-Security-Policy "default-src 'self'";
```bash
# Run weekly
npm audit
docker scan tlas-api:latest
docker scan license-api:latest
```
### Security Updates