Skip to content

A basic Angular app that is served as the main website with DargStack.

License

Notifications You must be signed in to change notification settings

dargstack/dargstack-example

Repository files navigation

Docker CI

DargStack Example

This is just a basic Nuxt app that is served as the main website within the dargstack-example_stack.

Table of Contents

  1. Quickstart

Quickstart

For deployment on a new server, e.g. a Debian machine at Hetzner Cloud, execute the following steps:

  1. optional: create the server using your ssh public key

    1. ssh into it as root
    2. use hetzner-start.sh for minimal setup (update installation, git installation, user creation, hostname setting)
    3. exit the current ssh session and reconnect using your just created user account
    4. use docker-debian-amd64-start.sh to install Docker
    5. setup DNS for your server, e.g. using Cloudflare
  2. install dargstack on your server as explained under dargstack/dargstack#installation-example

  3. create a project directory like dargstack/<namespace>:

    mkdir -p ~/dargstack/dargstack \
        && cd ~/dargstack/dargstack
  4. clone your repository like dargstack/dargstack-example_stack:

    git clone https://github.com/dargstack/dargstack-example_stack \
        && cd dargstack-example_stack
  5. run dargstack deploy -p latest, follow the instructions and you're done 🎉

    1. if you encounter docker/for-linux issue #1199, run sudo apt install apparmor and reboot
    2. if ssl certificates do not work even after waiting some time, run dargstack redeploy -p latest