This is just a basic Nuxt app that is served as the main website within the dargstack-example_stack.
For deployment on a new server, e.g. a Debian machine at Hetzner Cloud, execute the following steps:
-
optional: create the server using your ssh public key
sshinto it as root- use hetzner-start.sh for minimal setup (update installation,
gitinstallation, user creation, hostname setting) exitthe current ssh session and reconnect using your just created user account- use docker-debian-amd64-start.sh to install Docker
- setup DNS for your server, e.g. using Cloudflare
-
install dargstack on your server as explained under dargstack/dargstack#installation-example
-
create a project directory like
dargstack/<namespace>:mkdir -p ~/dargstack/dargstack \ && cd ~/dargstack/dargstack
-
clone your repository like
dargstack/dargstack-example_stack:git clone https://github.com/dargstack/dargstack-example_stack \ && cd dargstack-example_stack -
run
dargstack deploy -p latest, follow the instructions and you're done 🎉- if you encounter docker/for-linux issue #1199, run
sudo apt install apparmorand reboot - if ssl certificates do not work even after waiting some time, run
dargstack redeploy -p latest
- if you encounter docker/for-linux issue #1199, run