Trying Out This Website
Lately, there have been a few inquiries about deploying the source code of my website. Unfortunately for my own Less configuration to think about. very few of my resources are deployed directly or entirely with Docker. You can however get an instance of this website running very quickly with linux My personal deployment strategy is mostly ad hoc, so a linux container is the easiest way for me to deliver a demo of the source code.
lxc on your system should theoretically be the hardest part.
To get this up and running, create a container and change to its working directory.
lxc-create -n app -t download -- --dist alpine --release 3.10 --arch amd64 cd /var/lib/lxc/app
We can generate an empty container with the command
lxc-create -n empty -t none, but the generated config file will be empty too.
the contents of the container file system. The
rootfs will be replaced with the website’s file system.
rm -rf rootfs/*
wget https://www.thedroneely.com/download/rootfs.tar.gz tar --numeric-owner -xzvf rootfs.tar.gz -C rootfs/
Start the website and get its IP address.
lxc-start -n app lxc-ls -f
The output should look something like the following.
NAME STATE AUTOSTART GROUPS IPV4 IPV6 UNPRIVILEGED app RUNNING 0 - x.x.x.x - false
can be accessed at
administration page can be accessed at
http://x.x.x.x/isso/admin. The default
Disclaimer: You are responsible for securing your stack.
are listed below.
# Cockpit CMS default credentials Username: admin Password: admin # Isso default credentials Password: changethis
If this was too long to read, then see the condensed version below.
lxc-create -n app -t download -- --dist alpine --release 3.10 --arch amd64 cd /var/lib/lxc/app rm -rf rootfs/* wget https://www.thedroneely.com/download/rootfs.tar.gz tar --numeric-owner -xzvf rootfs.tar.gz -C rootfs/ lxc-start -n app lxc-ls -f
Updated 2 December 2019