2024-10-21 15:58:03 +03:00
|
|
|
#----------------------------------------------------------------------
|
2024-01-06 18:31:13 +03:00
|
|
|
#
|
2024-01-12 16:24:30 +03:00
|
|
|
# Global config file
|
2024-01-06 18:31:13 +03:00
|
|
|
#
|
2024-01-12 16:24:30 +03:00
|
|
|
# Prefixing an option (except for ROOTPASS) with "DFL_" will set the
|
|
|
|
|
# default value and show the dialog enabling the user to tweak/confirm
|
|
|
|
|
# the value, while options without the prefix will be set without user
|
|
|
|
|
# interaction.
|
|
|
|
|
# Options left unset will be interactively requested during the make
|
|
|
|
|
# process.
|
|
|
|
|
# To disable an option leaving it blank set it to 'SKIP'.
|
|
|
|
|
#
|
|
|
|
|
# CT-specific settings can be set in <ct>/config files for each
|
|
|
|
|
# specific CT.
|
|
|
|
|
#
|
|
|
|
|
# It is not recomended to set passwords here or in other config files.
|
|
|
|
|
#
|
|
|
|
|
#
|
2024-10-21 15:58:03 +03:00
|
|
|
#----------------------------------------------------------------------
|
|
|
|
|
# These options need to be revised or changed...
|
|
|
|
|
# (remove "DFL_" prefix to disable promting)
|
2024-10-19 15:09:34 +03:00
|
|
|
#
|
|
|
|
|
|
2024-10-21 15:58:03 +03:00
|
|
|
# Domain and email configuration
|
2024-10-19 13:59:43 +03:00
|
|
|
#
|
2024-10-21 15:58:03 +03:00
|
|
|
DFL_DOMAIN=example.com
|
|
|
|
|
DFL_EMAIL=user@example.com
|
2024-01-12 16:24:30 +03:00
|
|
|
|
|
|
|
|
|
2024-10-21 15:58:03 +03:00
|
|
|
# Network configuration...
|
|
|
|
|
#
|
|
|
|
|
# NOTE: it is simpler to statically assign these than to configure DHCP
|
2024-01-20 17:58:46 +03:00
|
|
|
# plus port forewarding to the dynamically assigned IP.
|
2024-10-21 15:58:03 +03:00
|
|
|
# NOTE: if installing on a different network than the target, these can
|
|
|
|
|
# be changed for target deployment in:
|
|
|
|
|
# - gate CT's /etc/network/interfaces (NOT in the Proxmox UI)
|
|
|
|
|
# - ssh CT's network configuration (Proxmox UI)
|
2024-01-13 16:35:15 +03:00
|
|
|
DFL_WAN_IP=192.168.1.101/24
|
|
|
|
|
DFL_WAN_GATE=192.168.1.252
|
|
|
|
|
|
2024-10-21 15:58:03 +03:00
|
|
|
# IP used for fail-safe conection to the ADMIN network
|
2024-01-20 18:40:48 +03:00
|
|
|
DFL_WAN_SSH_IP=192.168.1.102/24
|
2024-01-15 19:43:23 +03:00
|
|
|
|
2024-01-13 16:35:15 +03:00
|
|
|
|
2024-01-13 09:55:32 +03:00
|
|
|
# Web app/service domain configuration
|
|
|
|
|
#
|
|
|
|
|
# Here two optional variables are provided per service:
|
|
|
|
|
# - <SERVICE>_DOMAIN=...
|
|
|
|
|
# Overrides the $DOMAIN option above for <SERVICE>
|
|
|
|
|
# - <SERVICE>_SUBDOMAIN=...
|
|
|
|
|
# Sets the subdomain of $DOMAIN (or $<SERVICE>_DOMAIN) for <SERVICE>
|
|
|
|
|
|
|
|
|
|
# Nextcloud
|
|
|
|
|
#NEXTCLOUD_DOMAIN=
|
|
|
|
|
NEXTCLOUD_SUBDOMAIN=nc.
|
|
|
|
|
|
|
|
|
|
# Gitea
|
|
|
|
|
#GITEA_DOMAIN=
|
2024-01-13 16:35:15 +03:00
|
|
|
#GITEA_SUBDOMAIN=git.
|
2024-01-13 09:55:32 +03:00
|
|
|
|
|
|
|
|
|
2024-10-21 15:58:03 +03:00
|
|
|
# Extra options passed to each CT when created.
|
2024-01-12 16:24:30 +03:00
|
|
|
#
|
|
|
|
|
# This can be used for passing in ssh keys, etc...
|
|
|
|
|
#
|
|
|
|
|
# see:
|
|
|
|
|
# man pct
|
|
|
|
|
#
|
2024-01-13 16:35:15 +03:00
|
|
|
# Example:
|
|
|
|
|
# DFL_PCT_EXTRA="--ssh-public-keys /path/to/autohrized_keys"
|
|
|
|
|
#
|
2024-01-12 16:24:30 +03:00
|
|
|
DFL_PCT_EXTRA=SKIP
|
|
|
|
|
|
|
|
|
|
|
2024-01-06 18:31:13 +03:00
|
|
|
|
2024-10-21 15:58:03 +03:00
|
|
|
#----------------------------------------------------------------------
|
2024-01-12 16:24:30 +03:00
|
|
|
#
|
|
|
|
|
# Options afetr this point are sane defaults and in the general case
|
|
|
|
|
# can be left as-is.
|
|
|
|
|
#
|
|
|
|
|
|
2024-10-21 15:58:03 +03:00
|
|
|
# Bootsrap configuration...
|
|
|
|
|
#
|
|
|
|
|
# Usually this is the default bridge created in Proxmox, so there is no
|
|
|
|
|
# need to touch this.
|
|
|
|
|
BOOTSTRAP_BRIDGE=0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# CT interface bridge configuration.
|
|
|
|
|
#
|
|
|
|
|
# These are set to the bridge number (the number in 'vmbr#') used for
|
|
|
|
|
# a specific network.
|
|
|
|
|
#
|
|
|
|
|
# NOTE: on a clean Proxmox install ADMIN is pre-setup, we will use it
|
|
|
|
|
# for bootstrapping and reconfigure it later.
|
|
|
|
|
# NOTE: to make things simpler it is recommmended to number bridges
|
|
|
|
|
# connecting to physical ports the same as ports and virtual
|
|
|
|
|
# bridges with numbers greater than X (10 in the example below)
|
|
|
|
|
#
|
|
|
|
|
# Example:
|
|
|
|
|
# ADMIN_BRIDGE=_admin
|
|
|
|
|
# WAN_BRIDGE=_wan
|
|
|
|
|
# LAN_BRIDGE=_lan
|
|
|
|
|
#
|
|
|
|
|
ADMIN_BRIDGE=_admin
|
|
|
|
|
WAN_BRIDGE=_wan
|
|
|
|
|
LAN_BRIDGE=_lan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|
|
|
|
2024-01-27 16:13:38 +03:00
|
|
|
# host
|
2024-10-19 20:19:09 +03:00
|
|
|
HOST_ADMIN_IP=10.0.0.254/24
|
2024-01-27 16:13:38 +03:00
|
|
|
|
2024-10-21 15:58:03 +03:00
|
|
|
|
2024-01-12 16:24:30 +03:00
|
|
|
# Nameserver
|
2024-01-06 18:31:13 +03:00
|
|
|
NS_HOSTNAME=ns
|
2024-01-17 15:07:18 +03:00
|
|
|
NS_ID=100
|
2024-01-06 18:31:13 +03:00
|
|
|
NS_ADMIN_IP=10.0.0.1/24
|
|
|
|
|
NS_LAN_IP=10.1.1.1/24
|
|
|
|
|
|
2024-01-17 15:07:18 +03:00
|
|
|
RESERVE_NS_ID=101
|
|
|
|
|
TEMPLATE_NS_ID=200
|
|
|
|
|
|
2024-10-21 15:58:03 +03:00
|
|
|
|
2024-01-12 16:24:30 +03:00
|
|
|
# Gateway / Reverse proxy
|
2024-01-06 18:31:13 +03:00
|
|
|
GATE_HOSTNAME=gate
|
2024-01-17 15:07:18 +03:00
|
|
|
GATE_ID=110
|
2024-01-06 18:31:13 +03:00
|
|
|
GATE_ADMIN_IP=10.0.0.2/24
|
|
|
|
|
GATE_LAN_IP=10.1.1.2/24
|
|
|
|
|
|
2024-01-17 15:07:18 +03:00
|
|
|
RESERVE_GATE_ID=111
|
|
|
|
|
TEMPLATE_GATE_ID=210
|
2024-01-06 18:31:13 +03:00
|
|
|
|
2024-01-12 16:24:30 +03:00
|
|
|
|
2024-10-21 15:58:03 +03:00
|
|
|
|
|
|
|
|
#----------------------------------------------------------------------
|