Fix jwt-token
This commit is contained in:
@@ -15,7 +15,7 @@ services:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./server/scripts/init-db.sql:/docker-entrypoint-initdb.d/init-db.sql
|
||||
ports:
|
||||
- "5432:5432"
|
||||
- "5433:5432"
|
||||
networks:
|
||||
- drone-network
|
||||
healthcheck:
|
||||
@@ -33,7 +33,7 @@ services:
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
ports:
|
||||
- "6379:6379"
|
||||
- "6380:6379"
|
||||
networks:
|
||||
- drone-network
|
||||
healthcheck:
|
||||
@@ -63,9 +63,9 @@ services:
|
||||
TWILIO_ACCOUNT_SID: ${TWILIO_ACCOUNT_SID}
|
||||
TWILIO_AUTH_TOKEN: ${TWILIO_AUTH_TOKEN}
|
||||
TWILIO_PHONE_NUMBER: ${TWILIO_PHONE_NUMBER}
|
||||
CORS_ORIGIN: http://localhost:3000
|
||||
CORS_ORIGIN: http://localhost:3001
|
||||
ports:
|
||||
- "3001:3001"
|
||||
- "3002:3001"
|
||||
volumes:
|
||||
- ./server/logs:/app/logs
|
||||
networks:
|
||||
@@ -87,12 +87,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:
|
||||
@@ -109,8 +109,8 @@ services:
|
||||
container_name: drone-detection-nginx
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "8080:80"
|
||||
- "8443:443"
|
||||
volumes:
|
||||
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
|
||||
|
||||
Reference in New Issue
Block a user