From 05d31f6360011185830f6aa886ddb3ff0d9b8e74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sun, 9 Oct 2022 18:39:25 +0100 Subject: [PATCH] . --- README.md | 8 +------- documentation/setup-lxc.md | 22 ---------------------- documentation/setup.md | 4 ++-- 3 files changed, 3 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 0cb2540..b3eb3a3 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,5 @@ # git.limbosolutions.com - - ## Setup -for more information check /documentation/setup.md - -## Backup Strategy - -Duplicati running on docker. +For more information check [documentation](documentation/setup.md) diff --git a/documentation/setup-lxc.md b/documentation/setup-lxc.md index 2380cba..1444683 100644 --- a/documentation/setup-lxc.md +++ b/documentation/setup-lxc.md @@ -63,25 +63,3 @@ Access portainer (https://$LXC_CONTAINER_NAME:9443/) for inicial setup: lxc rm $LXC_CONTAINER_NAME --force ``` - -## set a static ip - - -On lxc container - -``` bash -Example: - -/etc/netplan/01-netcfg.yaml -network: - version: 2 - renderer: networkd - ethernets: - eth0: - dhcp4: no - addresses: - - 192.168.121.221/24 - gateway4: 192.168.121.1 - nameservers: - addresses: [8.8.8.8, 1.1.1.1] -``` bash \ No newline at end of file diff --git a/documentation/setup.md b/documentation/setup.md index 1397054..99356a6 100644 --- a/documentation/setup.md +++ b/documentation/setup.md @@ -99,6 +99,6 @@ mysql --host db -uroot -p ${MYSQL_DATABASE} < /db-dumps/$DB_FILE #enter root password (root password is in enviromnent variable ${MYSQL_ROOT_PASSWORD}) ``` +### network related - - +If ip changed. change dns servers (git.lan) and reverse proxy (git.limbosoluttions.com) to new ip. \ No newline at end of file