🛠️Install from Source
If you want to build or extend the functionality, download the source code using Git and running Xtreme1 locally:
Enable Docker BuildKit
We are using Docker BuildKit to accelerate the building speed, such as cache Maven and NPM packages between builds. By default BuildKit is not enabled in Docker Desktop, you can enable it as follows. For more details, you can check the official document Build images with BuildKit.
Clone repository
Build images and run services
The docker-compose.yml default will pull application images from Docker Hub, if you want to build images from source code, you can comment on the service's image line and un-comment build line.
Then when you run docker compose up
, it will first build the backend
and frontend
image and start services. Be sure to run docker compose build
when code changes, as the up command will only build images when it does not exist.
You should not commit your change to
docker-compose.yml
. To avoid this, you can copydocker-compose.yml
to a new filedocker-compose.develop.yml
, and modify this file as your development need, as this file is already added into.gitignore
. And you need to specify this specific file when runningDocker Compose
commands, such asdocker compose -f docker-compose.develop.yml
build.
If you face additional issues, please let us know.
Last updated