Initial import of the netOrk deploy script
CI / check (push) Successful in 12s

This commit is contained in:
Christian Manivong
2026-09-28 19:55:22 +02:00
commit a928d5eec3
9 changed files with 773 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# Copy to deploy.env (next to deploy.sh) and fill in. deploy.env is gitignored.
# Space-separated list of servers to deploy to when none are given on the
# command line. Anything ssh accepts: an IP, a hostname, an ssh config alias.
DEPLOY_SERVERS="10.0.0.1 10.0.0.2"
# Servers that also run the netork-ui container.
UI_SERVER="10.0.0.1"
# Registry the servers pull netOrk's images from.
REGISTRY_HOST=registry.example.com
# Image tag to deploy: latest, latest-dev, main-<sha>, feature-<branch> or X.Y.Z.
NETORK_VERSION=latest
# Registry credentials used on every server without its own entry below.
REGISTRY_USER=
REGISTRY_PASSWORD=
# Per-server overrides. The suffix is the server as written in DEPLOY_SERVERS,
# with dots replaced by underscores.
REGISTRY_USER_10_0_0_2=
REGISTRY_PASSWORD_10_0_0_2=
NETORK_VERSION_10_0_0_2=latest-dev