This document describes the changes required to update Huly from one version to another. Most of updates require updating Docker containers versions. Though, some updates may require updating other configuration options. In this case, you should review the updated configuration options and update them accordingly.
No changes required.
No changes required.
No changes required.
No changes required.
The new Mail Service, supporting both SMTP and Amazon SES, has been added. If your setup currently uses the ses service, you'll need to migrate to the mail service.
- Unified Mail Service: The
mailservice can be configured to send emails via SMTP or Amazon SES, but not both simultaneously. - Migration Requirement: Transitioning from the
sesservice to themailservice requires updating yourdocker-compose.yamlfile.
-
Update Configuration: Replace the
sesservice with themailservice in yourdocker-compose.yamlfile. Configure the environment variables to match your chosen email service (SMTP or SES). -
Rename Environment Variables: If you're using SES, update your environment variables:
- Change
ACCESS_KEYtoSES_ACCESS_KEY - Change
SECRET_KEYtoSES_SECRET_KEY - Change
REGIONtoSES_REGION
- Change
-
Integrate the Mail Service: Use
MAIL_URLinstead ofSES_URLintransactorandaccountcontainers:account: ... environment: - MAIL_URL=http://mail:8097 ... transactor: ... environment: - MAIL_URL=http://mail:8097 ...
-
Web Push Notifications: Add
WEB_PUSH_URLtotransactorcontainer if you want to use web push notifications:transactor: ... environment: - MAIL_URL=http://mail:8097 - WEB_PUSH_URL=http://ses:3335 ...
No changes required.
No changes required.
Web-push keys have been moved from the front service to the ses service. If you are using the ses service, you will need to update the configuration:
front:
...
environment:
...
# Remove the following lines
# - PUSH_PUBLIC_KEY=your public key
# - PUSH_PRIVATE_KEY=your private key
ses:
...
environment:
...
# Add the following lines
- PUSH_PUBLIC_KEY=your public key
- PUSH_PRIVATE_KEY=your private keyNo changes required.
No changes required.
Fulltext search functionality has been extracted into a separate fulltext service. This service is now required to be running in order to use the fulltext search functionality.
Configuration:
fulltext:
image: hardcoreeng/fulltext:${HULY_VERSION}
ports:
- 4700:4700
environment:
- SERVER_SECRET=${HULY_SECRET}
- DB_URL=mongodb://mongodb:27017
- FULLTEXT_DB_URL=http://elastic:9200
- ELASTIC_INDEX_NAME=huly_storage_index
- STORAGE_CONFIG=minio|minio?accessKey=minioadmin&secretKey=minioadmin
- REKONI_URL=http://rekoni:4004
- ACCOUNTS_URL=http://account:3000
- STATS_URL=http://stats:4900
restart: unless-stoppedUpdate the transactor service to use the new fulltext service:
transactor:
...
environment:
...
- FULLTEXT_URL=http://fulltext:4700
# Remove the following lines
# - ELASTIC_URL=http://elastic:9200
# - ELASTIC_INDEX_NAME=huly_storage_index
# - REKONI_URL=http://rekoni:4004New statistics service has been added. The serivce is responsible for collecting and storing statistics about the usage of the application.
Configuration:
stats:
image: hardcoreeng/stats:${HULY_VERSION}
ports:
- 4900:4900
environment:
- PORT=4900
- SERVER_SECRET=${HULY_SECRET}
restart: unless-stoppedOther Huly services have been updated to use the new statistics service:
...
environment:
- STATS_URL=http://stats:4900
...