nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests

README.md (751B)


      1 My Heats Nginx Image
      2 --------------------
      3 
      4 Build instructions for Digital Ocean.
      5 
      6 1 - Prepare build environment (variables are fixed during "vite build" step):
      7 
      8  export VITE_APP_DOC_TITLE='My title'
      9 
     10  # use NODE_ENV=prod to exclude the `devDependencies` (e..g, vite)
     11  export NODE_ENV=dev
     12 
     13 2 - Build and push:
     14 
     15  # https://cloud.digitalocean.com/account/api/tokens
     16  podman login registry.digitalocean.com/myheats
     17 
     18  buildah bud --no-cache \
     19   --build-arg="VITE_APP_DOC_TITLE=$VITE_APP_DOC_TITLE" \
     20   --build-arg="NODE_ENV=$NODE_ENV" \
     21   --network=slirp4netns \
     22   -t registry.digitalocean.com/myheats/myheats:latest .
     23 
     24  buildah push registry.digitalocean.com/myheats/myheats:latest
     25 
     26 3 - Use `digital-ocean-app.yaml` to configure the app in Digital Ocean.