Repository navigation
Install and run using docker
Aahnik Daw edited this page Oct 24, 2022
·
16 revisions
It is assumed that you are familiar with basic docker commands. Docker should be properly installed and running in your system.
Pull the official docker image from DockerHub.
docker pull aahnik/tgcfTip: Use
aahnik/tgcf:minimalfor a smaller image size. (beta)
- Set the password for web interface.
echo "PASSWORD=hocus pocus qwerty utopia" >> .env
docker run -d -p 8501:8501 --env-file .env aahnik/tgcfNote:
- the
-dflag tells the docker command to run the container in detached mode. - the
--env-fileoption passes the file.envfor its variables to be used inside the container.
To see if your container is running,
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d12ef4fe2b6c aahnik/tgcf "/bin/sh -c tgcf-web" 32 seconds ago Up 32 seconds 0.0.0.0:8501->8501/tcp beautiful_mclean
The container id and name will be different in your machine.
Visit localhost:8501 to access the web interface for tgcf.
To see the logs produced by the container,
$ docker logs beautiful_mcleanReplace beautiful_mclean with the name of the container in your machine.
Have a question? Ask in the discussion forum. But make sure to read the wiki first.