Skip to content

Commit

Permalink
change README
Browse files Browse the repository at this point in the history
  • Loading branch information
goricz committed Oct 10, 2019
1 parent 69dbd0f commit d0f1ec0
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,33 @@ This docker image is based on the latest official [Alpine Linux](https://hub.doc

Quick start:

docker run -d --name XoruX -p 8080:80 xorux/apps
docker run -d --name XoruX -p 8080:80 xorux/apps

or better

XORUX_DIR=/srv/xorux # select any directory with rwx owner permissions
mkdir -p $XORUX_DIR/lpar2rrd $XORUX_DIR/stor2rrd
chown 1005 $XORUX_DIR/lpar2rrd $XORUX_DIR/stor2rrd # uid of user lpar2rrd inside the container
docker run -d --name XoruX --volume $XORUX_DIR/lpar2rrd:/home/lpar2rrd/lpar2rrd --volume $XORUX_DIR/stor2rrd:/home/stor2rrd/stor2rrd -p 8080:80 xorux/apps
XORUX_DIR=/srv/xorux # select any directory with rwx owner permissions
mkdir -p $XORUX_DIR/lpar2rrd $XORUX_DIR/stor2rrd
chown 1005 $XORUX_DIR/lpar2rrd $XORUX_DIR/stor2rrd # uid of user lpar2rrd inside the container
docker run \
--detach \
--name XoruX \
--volume $XORUX_DIR/lpar2rrd:/home/lpar2rrd/lpar2rrd \
--volume $XORUX_DIR/stor2rrd:/home/stor2rrd/stor2rrd \
--publish 8080:80 \
xorux/apps

If you run container with volume params, it will use XORUX_DIR to store all data and configurations for easy backups, log access and further upgrades.

You can set container timezone via env variable TIMEZONE in docker run command:

docker run -d --name XoruX --volume $XORUX_DIR/lpar2rrd:/home/lpar2rrd/lpar2rrd --volume $XORUX_DIR/stor2rrd:/home/stor2rrd/stor2rrd -p 8080:80 --env TIMEZONE="Europe/Prague" xorux/apps
docker run \
--detach \
--name XoruX
--volume $XORUX_DIR/lpar2rrd:/home/lpar2rrd/lpar2rrd \
--volume $XORUX_DIR/stor2rrd:/home/stor2rrd/stor2rrd \
--env TIMEZONE="Europe/Prague" \
--publish 8080:80 \
xorux/apps

or later in web UI.

Expand Down

0 comments on commit d0f1ec0

Please sign in to comment.