Sign inSign up

stalk/xpush

By stalk

•Updated almost 10 years ago

Image
3

1.5K

stalk/xpush repository overview

⁠XPUSH server's Dockerfile

This repository contains Dockerfile of XPUSH⁠ published to the public Docker Registry⁠.

⁠Installation
  1. Install Docker⁠.

  2. Download trusted build⁠ from public Docker Registry⁠: docker pull stalk/xpush

    (alternatively, you can build an image from Dockerfile: docker build -t="stalk/xpush" https://raw.githubusercontent.com/xpush/dockerfile/master/xpush/single/Dockerfile)

⁠Usage

Create a config file in user directory ( name like session.json and channel.json)

More configuration info⁠ from xpush.github.io

⁠Run session server
⁠1. Run with xpush executable ( You can run the server with your own options.)
docker run -i -t -p 8000:8000 -v /home/stalk/data:/data stalk/xpush:latest xpush --config /data/session.json --session --port 8000
⁠2. Run with already installed shell script
docker run -d -p 8000:8000 -v /home/stalk/data:/data stalk/xpush:latest /bin/bash xpush-session.sh

Note: installed shell script will run with options below.

--config /data/session.json --session --port 8000
⁠Run channel server
⁠Run with xpush executable ( You can run the server with your own options.)
docker run -i -t -p 9000:9000 -v /home/stalk/data:/data stalk/xpush:latest xpush --config /data/channel.json --port 9000
⁠Run with already installed shell script
docker run -d -p 9000:9000 -v /home/stalk/data:/data stalk/xpush:latest /bin/bash xpush-channel.sh

Note: installed shell script will run with options below.

--config /data/channel.json --port 9000

Tag summary

Content type

Image

Digest

sha256:b32ceb94e…

Size

259.5 MB

Last updated

almost 10 years ago

docker pull stalk/xpush