-
-
Notifications
You must be signed in to change notification settings - Fork 194
Run the Server
Choose one of the following methods to run the Huntly server:
Create a docker-compose.yml file:
version: '3.8'
services:
huntly:
image: lcomplete/huntly
container_name: huntly
restart: always
ports:
- "8088:80"
volumes:
- ~/data/huntly:/data
labels:
- "com.centurylinklabs.watchtower.enable=true"It's recommended to use Watchtower for automatic updates to get the latest features.
Then run:
docker-compose up -dDownload the installation package for your operating system from Releases and run it after installation.
If you encounter the error message "Huntly.app" is damaged and can't be opened on macOS, run:
sudo xattr -r -d com.apple.quarantine /YOUR_PATH/Huntly.appSee the Run the Server wiki for more options.
mkdir huntly && cd huntly
docker run -itd --name huntly --restart=always -p 8080:80 -v `pwd`/data:/data lcomplete/huntlyAlways pull the latest image. If you need to upgrade, delete the local latest image and run the startup command again.
Download the jar package from Releases, then run:
java -Xms128m -Xmx1024m -jar huntly-server.jarBy default it runs on port 8080. To use a different port:
java -Xms128m -Xmx1024m -jar huntly-server.jar --server.port=80Create a new directory named Huntly, and perform the following operations in this directory.
Download the jar package from Releases.
Download WinSW exe and rename it to app.exe.
Create a new file named app.xml with the following content:
<service>
<id>huntly</id>
<name>huntly</name>
<description>huntly</description>
<executable>java</executable>
<arguments>-Xms128m -Xmx1024m -jar huntly-server.jar --server.port=8123</arguments>
<log mode="roll"></log>
</service>Open the terminal and run the command:
.\app.exe install .\app.xmlAfter executing the above command, Huntly has been installed as a Windows service and set to start automatically at boot. It is currently not started. Use the following command to start the service:
.\app.exe start .\app.xmlIf you receive an error message that java cannot be executed, change the value of executable to the full path of java.exe.
Other commands such as uninstall, stop, restart, status, refresh, customize are also supported. For specific usage instructions please refer to https://github.com/winsw/winsw.
After successful startup, you can access http://localhost:8123.