-
Notifications
You must be signed in to change notification settings - Fork 69
Using Docker
João Filipe Silva edited this page Apr 12, 2019
·
6 revisions
There is a docker image available.
docker create --name=phlex \
-p 5666:80 -p 5667:443 \
-v /configpath:/config \
-e HTTPPORT=5666 \
-e HTTPSPORT=5667 \
-e FASTCGIPORT=9000 \
--privileged \
digitalhigh/phlex
By default, Phlex is set to listen on ports 5666 and 5667 - these can be modified by editing the file /config/
The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side.
-
-v /config
- Where Phlex should store its files -
-e HTTPPORT
(optional) Port to serve http web traffic from. (default is 5666) -
-e HTTPSPORT
(optional) Port to serve https traffic from. (default is 5667) -
-e FASTCGIPORT
(optional) Port to use for cast traffic (default is 9000) -
-e TZ
for timezone setting (optional), eg. Europe/London
It is based on alpine linux with s6 overlay, for shell access whilst the container is running do docker exec -it phlex /bin/bash
.
Find the web interface at <your-ip>:5666
, set apps you wish to use with Phlex via the webui.
- Shell access whilst the container is running:
docker exec -it phlex /bin/bash
- To monitor the logs of the container in realtime:
docker logs -f phlex
- container version number:
docker inspect -f '{{ index .Config.Labels "build_version" }}' phlex
- image version number:
docker inspect -f '{{ index .Config.Labels "build_version" }}' d8ahazard/phlex