standart env
This commit is contained in:
@@ -50,7 +50,7 @@ services:
|
||||
rabbitmq:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- "${BACKEND_PORT}:8000"
|
||||
- "${VITE_BACKEND_PORT}:8000"
|
||||
entrypoint: ["./entrypoint.sh", "--dev"]
|
||||
|
||||
backend-prod:
|
||||
@@ -93,7 +93,7 @@ services:
|
||||
rabbitmq:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- "${BACKEND_PORT}:8000"
|
||||
- "${VITE_BACKEND_PORT}:8000"
|
||||
|
||||
daemons:
|
||||
profiles: ["prod", "dev"]
|
||||
@@ -213,8 +213,8 @@ services:
|
||||
source: ../frontend/vite.config.ts
|
||||
target: /home/excel-project/vite.config.ts
|
||||
- type: bind
|
||||
source: ../frontend/configs
|
||||
target: /home/excel-project/configs
|
||||
source: ../configs
|
||||
target: /home/configs
|
||||
ports:
|
||||
- "${FRONT_PORT}:5173"
|
||||
networks:
|
||||
@@ -232,7 +232,7 @@ services:
|
||||
target: frontend_prod
|
||||
environment:
|
||||
- BACKEND_HOST=backend-prod
|
||||
- BACKEND_PORT=${BACKEND_PORT}
|
||||
- BACKEND_PORT=${VITE_BACKEND_PORT}
|
||||
init: true
|
||||
ipc: private
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user