diff --git a/compose.coolify.yml b/compose.coolify.yml index 07046b4..ee3132b 100644 --- a/compose.coolify.yml +++ b/compose.coolify.yml @@ -16,7 +16,7 @@ services: REDIS_HOST: ${REDIS_HOST:-redis} REDIS_PORT: ${REDIS_PORT:-6379} JWT_SECRET: ${JWT_SECRET} - ALLOWED_ORIGINS: ${ALLOWED_ORIGINS:-https://agenthub.barodine.net} + ALLOWED_ORIGINS: ${ALLOWED_ORIGINS:-https://agenthub-v2.barodine.net} networks: - default - coolify @@ -32,7 +32,7 @@ services: - 'coolify.type=application' - 'traefik.enable=true' - 'traefik.docker.network=coolify' - - 'traefik.http.routers.agenthub.rule=Host(`agenthub.barodine.net`)' + - 'traefik.http.routers.agenthub.rule=Host(`agenthub-v2.barodine.net`)' - 'traefik.http.routers.agenthub.entrypoints=websecure' - 'traefik.http.routers.agenthub.tls=true' - 'traefik.http.routers.agenthub.tls.certresolver=letsencrypt' diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index d575144..bbd14dd 100644 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -5,4 +5,4 @@ echo "[entrypoint] Running database migrations..." node dist/scripts/migrate.js echo "[entrypoint] Starting application server..." -exec node dist/server.js +exec node dist/src/server.js