Commit Graph

17 Commits

Author SHA1 Message Date
Manus AI
d50d3ab98b fix: Update comments to reflect updating existing environment files
The console/environments directory and .env files already exist in the
repository. The install script overwrites these existing files with
the correct configuration values. Updated comments to say 'Update'
instead of 'Write/Create' and removed unnecessary mkdir -p command.
2026-02-23 01:06:44 -05:00
Manus AI
7d3b6ed18f fix: Update install script to create console environment files
This commit updates the docker-install.sh script to create/update the
console environment files (.env.development and .env.production) before
starting Docker containers.

## Changes

- Added section 6b to create console/environments directory
- Create .env.development with HTTP configuration
- Create .env.production with HTTPS configuration
- Both files include API_HOST, SOCKETCLUSTER settings, and OSRM_HOST
- Production file includes API_SECURE=true flag

## Rationale

Production builds no longer use fleetbase.config.json for runtime
configuration. Instead, they rely on .env.production files that are
baked into the build at compile time. This ensures proper configuration
for both development and production environments.

## Files Created

1. console/environments/.env.development
   - HTTP API endpoint (http://<host>:8000)
   - SOCKETCLUSTER_SECURE=false
   - Uses provided host value

2. console/environments/.env.production
   - HTTPS API endpoint (https://<host>:8000)
   - SOCKETCLUSTER_SECURE=true
   - API_SECURE=true
   - Uses provided host value

## Impact

This ensures that when users run `ember build --environment=production`,
the compiled assets have the correct API endpoints and SocketCluster
configuration embedded, rather than relying on runtime configuration
which is only available in development mode.

## Related

This change mirrors the update made to the CLI install-fleetbase command
in fleetbase/fleetbase-cli PR #3.
2026-02-22 21:00:39 -05:00
ayoub9360
70c45a34d4 fix(scripts): replace unicode quotes with ASCII in docker-install.sh
The script contained typographic curly quotes instead of standard ASCII
quotes around the DB_SERVICE variable, causing bash to fail with:
DB_SERVICE: unbound variable

Also replaced the unicode ellipsis with ASCII dots for shell compatibility.
2026-01-29 22:51:40 +01:00
Ronald A. Richardson
672f3d51ca docker installer: added 12 sec delay before deploy script run 2025-05-26 15:46:05 +08:00
Ronald A. Richardson
cd5af8dfc8 added feature to wait database running in docker install script 2025-05-26 15:32:49 +08:00
Ronald A. Richardson
1a0073eae0 few tweaks to readme and install script 2025-05-26 15:20:48 +08:00
Ronald A. Richardson
ebbc4b2bf8 v0.7.4 ~ new docker install script, added logic condition property shortcut keys 2025-05-26 14:52:32 +08:00
Ronald A. Richardson
bd0759881f updated notification channel config for firebase and apn 2024-02-21 18:16:15 +08:00
Ronald A. Richardson
48069177df Upgrade to 5.4 semi successful, working through deprecations 2023-12-08 13:52:38 +08:00
Ronald A. Richardson
0a3ad2f0a6 added scripts 2023-12-07 11:17:52 +08:00
Ronald A. Richardson
ae5fb66e5b latest 2023-05-30 16:36:33 +08:00
Ronald A. Richardson
b1ff553262 latest with succcessful docker 2023-05-16 18:16:24 +08:00
Ronald A. Richardson
bb885e26bc latest 2023-05-15 15:00:56 +08:00
Ronald A. Richardson
05d37f7481 added temporary autoupdate script 2023-05-14 19:53:42 +08:00
Ronald A. Richardson
39c3083f12 latest pending socket addition 2023-05-10 13:55:25 +08:00
Ronald A. Richardson
8df902db09 latest wip 2023-03-17 16:06:34 +08:00
Ronald A. Richardson
f70bad4af1 wip oss fleetbase 2023-03-08 18:04:38 +08:00