Files
huly-platform/common/scripts/docker.sh
T
Artyom SavchenkoandGitHub 499cc8cd96 Support minified dev deployment (#10512)
* Support minified dev deployment

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* Update readme

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* Merge compose files

Signed-off-by: Artem Savchenko <armisav@gmail.com>

---------

Signed-off-by: Artem Savchenko <armisav@gmail.com>
2026-02-16 17:38:33 +07:00

62 lines
2.0 KiB
Bash
Executable File

#!/bin/bash
# Supports minified mode for resource-constrained dev machines:
# rush docker --minified or rush docker:min
MINIFIED=false
for arg in "$@"; do
if [ "$arg" = "--minified" ]; then
MINIFIED=true
break
fi
done
if [ "$MINIFIED" = true ]; then
echo "Building minified docker images (excluding optional services)..."
rush docker:build -p 20 \
--to @hcengineering/pod-server \
--to @hcengineering/pod-front \
--to @hcengineering/prod \
--to @hcengineering/pod-account \
--to @hcengineering/pod-workspace \
--to @hcengineering/pod-collaborator \
--to @hcengineering/tool \
--to @hcengineering/pod-analytics-collector \
--to @hcengineering/rekoni-service \
--to @hcengineering/pod-datalake \
--to @hcengineering/pod-export \
--to @hcengineering/pod-media \
--to @hcengineering/pod-external
else
rush docker:build -p 20 \
--to @hcengineering/pod-server \
--to @hcengineering/pod-front \
--to @hcengineering/prod \
--to @hcengineering/pod-account \
--to @hcengineering/pod-workspace \
--to @hcengineering/pod-collaborator \
--to @hcengineering/tool \
--to @hcengineering/pod-print \
--to @hcengineering/pod-sign \
--to @hcengineering/pod-analytics-collector \
--to @hcengineering/rekoni-service \
--to @hcengineering/pod-ai-bot \
--to @hcengineering/import-tool \
--to @hcengineering/pod-stats \
--to @hcengineering/pod-fulltext \
--to @hcengineering/pod-love \
--to @hcengineering/pod-mail \
--to @hcengineering/pod-datalake \
--to @hcengineering/pod-mail-worker \
--to @hcengineering/pod-export \
--to @hcengineering/pod-media \
--to @hcengineering/pod-preview \
--to @hcengineering/pod-link-preview \
--to @hcengineering/pod-external \
--to @hcengineering/pod-backup \
--to @hcengineering/backup-api-pod \
--to @hcengineering/pod-billing \
--to @hcengineering/pod-process \
--to @hcengineering/pod-rating \
--to @hcengineering/pod-payment
fi