Fix jwt-token
This commit is contained in:
@@ -14,7 +14,7 @@ services:
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
- "5433:5432"
|
||||
networks:
|
||||
- drone-network
|
||||
healthcheck:
|
||||
@@ -32,7 +32,7 @@ services:
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
ports:
|
||||
- "6379:6379"
|
||||
- "6380:6379"
|
||||
networks:
|
||||
- drone-network
|
||||
healthcheck:
|
||||
@@ -75,7 +75,7 @@ services:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3001/api/health"]
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3002/api/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
@@ -86,12 +86,12 @@ services:
|
||||
context: ./client
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
VITE_API_URL: http://localhost:3001/api
|
||||
VITE_WS_URL: ws://localhost:3001
|
||||
VITE_API_URL: http://localhost:3002/api
|
||||
VITE_WS_URL: ws://localhost:3002
|
||||
container_name: drone-detection-frontend
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:80"
|
||||
- "3001:80"
|
||||
networks:
|
||||
- drone-network
|
||||
depends_on:
|
||||
@@ -110,14 +110,14 @@ services:
|
||||
container_name: drone-detection-simulator
|
||||
restart: "no"
|
||||
environment:
|
||||
API_URL: http://backend:3001/api
|
||||
API_URL: http://backend:3002/api
|
||||
networks:
|
||||
- drone-network
|
||||
depends_on:
|
||||
- backend
|
||||
profiles:
|
||||
- simulation
|
||||
command: python drone_simulator.py --api-url http://backend:3001/api --devices 5 --duration 3600
|
||||
command: python drone_simulator.py --api-url http://backend:3002/api --devices 5 --duration 3600
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
Reference in New Issue
Block a user