docker run -dt --name bark -p 8080:8080 -v `pwd`/bark-data:/data finab/bark-server
mkdir bark && cd bark
curl -sL https://git.io/JvSRl > docker-compose.yaml
docker-compose up -d
Download executable files based on operating system platform.
https://github.com/Finb/bark-server/releases
Or compile it yourself.
https://github.com/Finb/bark-server
Run
./bark-server_linux_amd64 -addr 0.0.0.0:8080 -data ./bark-data
You may need to do
chmod +x bark-server_linux_amd64
Please note that bark-server defaults to using the /data directory to save data. Please make sure that bark-server has permission to read and write the /data directory, or you can use the -data option to specify a directory.
curl http://0.0.0.0:8080/ping
If it returns pong, it means the deployment was successful