mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: load config on runtime
This commit is contained in:
committed by
Yassine Sallemi
parent
d2555d9f94
commit
aa05fe1704
@@ -16,6 +16,11 @@ services:
|
||||
- ../api/migrations:/app/migrations
|
||||
#- ../api/node_modules:/app/node_modules
|
||||
command: ["npm", "run", "start:debug"]
|
||||
|
||||
hexabot-frontend:
|
||||
build:
|
||||
context: ../
|
||||
dockerfile: ./frontend/Dockerfile
|
||||
|
||||
mongo-express:
|
||||
container_name: mongoUi
|
||||
|
||||
@@ -30,7 +30,6 @@ services:
|
||||
condition: service_healthy
|
||||
database-init:
|
||||
condition: service_completed_successfully
|
||||
|
||||
healthcheck:
|
||||
test: "wget --spider http://localhost:3000"
|
||||
interval: 10s
|
||||
@@ -40,12 +39,7 @@ services:
|
||||
|
||||
hexabot-frontend:
|
||||
container_name: frontend
|
||||
build:
|
||||
context: ../
|
||||
dockerfile: ./frontend/Dockerfile
|
||||
args:
|
||||
- NEXT_PUBLIC_API_ORIGIN=${NEXT_PUBLIC_API_ORIGIN}
|
||||
- NEXT_PUBLIC_SSO_ENABLED=${NEXT_PUBLIC_SSO_ENABLED}
|
||||
image: hexabot-ui:latest
|
||||
env_file: .env
|
||||
ports:
|
||||
- ${APP_FRONTEND_PORT}:8080
|
||||
|
||||
Reference in New Issue
Block a user