Download this repository using the link https://github.com/liferay-release/nightly-docker-runner/archive/refs/heads/main.zip.
Next, add or copy the *.config files to the folder configs, like com.liferay.portal.search.elasticsearch.configuration.ElasticsearchConfiguration.config, and/or edit the existing portal-ext.properties placed in the folder properties. These resources will be copied to the nightly build before its starts up. Then, choose one of the following options to run the nightly build:
docker build -t nightly .docker run --name liferay-nightly --publish 8080:8080 nightly
- Open the file
properties/portal-ext.propertiesand remove all#to enable the MySQL configuration. - Open the terminal and run the command
docker-compose up.
- In your terminal, hit
Ctrl + Cto stop nightly. - Place the necessary configurations in
configsand update the content ofproperties/portal-ext.properties. - Back to the terminal, run the command
docker-compose build - Next, run the command
docker-compose up