This tutorial will guide you through the installation of SWAG (Secure Web Application Gateway) from LinuxServer.io on Fedora CoreOS Latest using Docker.
To complete this tutorial, you will need:
Docker is a software platform for building and running applications in containers. To install Docker on your Fedora CoreOS Latest machine, follow these steps:
sudo dnf install docker-ce
sudo systemctl start docker
sudo systemctl enable docker
To install SWAG, we will use the docker-compose.yml provided by the LinuxServer.io team.
mkdir swag
cd swag
curl https://raw.githubusercontent.com/linuxserver/docker-swag/master/docker-compose.yml -o docker-compose.yml
To get SWAG to work, you need to fill in a few sensitive environment variables. Replace the necessary variables with your information.
nano .env
TZ=America/Los_Angeles
URL=<Your Domain Name>
SUBDOMAINS=<Your subdomains (comma separated)>
VALIDATION=http
sudo docker-compose up -d
You can now visit your website using your browser, make sure you have correctly set up DNS records pointing to your server.
Congratulations, you have installed SWAG on Fedora CoreOS Latest using Docker!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!