summaryrefslogtreecommitdiff
path: root/config.env
blob: 233b2d6a6af44137ec055a8b6bf0093729af254a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Container config
CONTAINER_NAME=cgit2            # unique name per instance
DOMAIN=git.noml.ch              # DNS A record must point to PUBLIC_IP

# Network
PRIVATE_SUBNET=10.89.0.0/24
PRIVATE_IP=10.89.0.3            # unused IP on the subnet (gateway is .1)
PUBLIC_IP=37.27.166.243          # check free IPs with ipv4.sh --pool
NETWORK=public-routed

# Paths (inside container)
GIT_PATH=/git
# Caddy stores SSL certs here, mounted as ${CONTAINER_NAME}_data volume
XDG_DATA_HOME=/data
CGIT_CSS=/cgit.css
CGIT_LOGO=/cgit.png
FCGI_SOCK=/run/fcgiwrap.sock