🐋 Docker + PtokaX 0.5.3.0 (20th anniversary edition)
1.7K
This is a Docker image to be able to deploy easily PtokaX 0.5.3.0 (20th anniversary edition) into a container. You can follow the next steps in the README to have a private DC Hub, with default configuration, or use this image by yourself with your own configuration.
Settings.pxt file..pxt, .pxb files, we must stop the container first. Because all manually changed settings or using PtokaX CLI tool, when container and PtokaX main process is running are not applied on the fly and the most important, when PtokaX service or container stops the changes are overriden with the in memory values of the main process of PtokaX.mkdir $HOME/ptokax
cd $HOME/ptokax
wget https://github.com/ruben69695/ptokax-dockerfile/releases/download/v.0.5.3/ptokax-default.tar.gz
tar -xf ptokax-default.tar.gz
docker create --name ptokax \
-p 54400:411 \
--mount type=bind,src=$HOME/ptokax/config,target=/src/cfg \
--mount type=bind,src=$HOME/ptokax/logs,target=/src/logs \
ruben69695/ptokax:0.5.3
docker start ptokax
docker exec -it ptokax bash

!help

Before create a new user we have to understand the available profiles for the user, this declares what the user can do in the hub. The available profiles are: master | operator | vip | reg
In the hub chat, with our main user (profile: master), we can create users directly from the chat. As we saw the !help command displays a list of commands, and the command to create new users is the next one: !addreguser. So if want a friend to access our hub, we can create a new user for him/her. Example:
!addreguser <nick> <password> <profilename>
!addreguser ruben ruben123 reg
Content type
Image
Digest
sha256:7c22ba795…
Size
207.7 MB
Last updated
almost 4 years ago
docker pull ruben69695/ptokax