This commit is contained in:
2022-10-05 14:58:29 +01:00
parent 3459ef7101
commit f79da09e97
4 changed files with 26 additions and 12 deletions

View File

@@ -1,5 +1,22 @@
# Setup
Web setup
``` bash
curl - "https://git.limbosolutions.com/limbosolutions.com/git.limbosolutions.com/raw/branch/main/scripts/web-setup.sh" | bash
```
Or you can manual clone the repository and execute
``` bash
cd ~/
git clone "https://git.limbosolutions.com/limbosolutions.com/git.limbosolutions.com"
cd git.limbosolutions.com
chmod +x git.limbosolutions.com/scripts/setup.sh
./git.limbosolutions.com/scripts/setup.sh
```
## Create LXC Container
``` bash
@@ -8,14 +25,11 @@ containername=gitsrv01
lxc_profile=enxd0374555c1f8_macvlan
```
## Setup Container
## Setup LXC Container
```bash
lxc launch ubuntu $containername -p $lxc_profile
# Setup container for docker
lxc exec $containername -- bash -c "curl https://git.limbosolutions.com/kb/lxc/scripts/ubuntu-fuse-setup.sh | bash"
scripts/setup-lxc.sh
```
Setup using portainer [docker compose](docker/docker-compose.yaml).
## Fresh Install