Public | Automated Build

Last pushed: 10 months ago
Short Description
Short description is empty for this repo.
Full Description

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
Docker Pull Command
Owner
stalk
Source Repository

Comments (0)