- Running TailsX with Docker
- Modify the Dockerfile (aptly named
Dockerfile
) - Build & run TailsX
- Test your server
TailsX can be ran under a Docker container easily.
There should be a line in the Dockerfile that looks like this;
# ENV DOMAIN=https://www.yourdomain.com
Uncomment this line by removing the #
and change the domain to your own domain.
The default configuration of Gunicorn works, but you can optionally configure it to your liking.
The command that will be called can be found in CMD
(see the very end of the file). The arguments are seperated into different strings in a list.
See the gunicorn docs on running gunicorn and the Docker docs on how the CMD
instruction works.
Build an image and tag it with tailsx:latest
.
docker build -t tailsx:latest .
Start the image with docker-compose
.
docker-compose up
NOTE: If you experience any permissions errors, you can try running both commands with sudo
.
See here on testing your server.