25 lines
842 B
Bash
25 lines
842 B
Bash
# 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
|