Fix jwt-token

This commit is contained in:
2025-08-16 19:51:04 +02:00
parent 0d386840e3
commit 52fd44cb0f
6 changed files with 210 additions and 2 deletions

View File

@@ -41,6 +41,21 @@ docker-compose ps
- **Database**: localhost:5432
- **Redis**: localhost:6379
### Testing Docker Builds
Before running the full docker-compose setup, you can test individual container builds:
```bash
# Test all builds
./test-docker-builds.sh # Linux/Mac
test-docker-builds.bat # Windows
# Test individual builds
docker build -t test-backend ./server
docker build -t test-frontend ./client
docker build -f docker/simulator/Dockerfile -t test-simulator .
```
## Service Architecture
```
@@ -220,9 +235,15 @@ docker-compose up -d
#### 2. Frontend Build Issues
```bash
# If npm ci fails (missing package-lock.json)
# The Dockerfile has been updated to use npm install instead
# Rebuild frontend
docker-compose build --no-cache frontend
# Test frontend build individually
docker build -t test-frontend ./client
# Check build logs
docker-compose logs frontend
```