Compare commits
2 Commits
3459ef7101
...
657b305eef
| Author | SHA1 | Date | |
|---|---|---|---|
| 657b305eef | |||
| f79da09e97 |
10
README.md
10
README.md
@@ -2,13 +2,9 @@
|
|||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
```bash
|
for more information check /documentation/setup.md
|
||||||
cd ~/
|
|
||||||
git clone https://git.limbosolutions.com/limbosolutions.com/git.limbosolutions.com
|
|
||||||
cd git.limbosolutions.com
|
|
||||||
chmod +x /scripts
|
|
||||||
./scripts/setup-lxc.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
## Backup Strategy
|
## Backup Strategy
|
||||||
|
|
||||||
|
|||||||
@@ -1,32 +1,35 @@
|
|||||||
# Setup
|
# Setup
|
||||||
|
|
||||||
## Create LXC Container
|
## Requirements
|
||||||
|
|
||||||
|
Enviroment variables
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# set vars
|
LXC_CONTAINER_NAME=?????
|
||||||
containername=gitsrv01
|
LXC_PROFILE=?????
|
||||||
lxc_profile=enxd0374555c1f8_macvlan
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Setup Container
|
## LXC Setup
|
||||||
|
|
||||||
|
### Web setup
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
lxc launch ubuntu $containername -p $lxc_profile
|
curl - "https://git.limbosolutions.com/limbosolutions.com/git.limbosolutions.com/raw/branch/main/scripts/web-setup.sh" | bash
|
||||||
# Setup container for docker
|
|
||||||
lxc exec $containername -- bash -c "curl https://git.limbosolutions.com/kb/lxc/scripts/ubuntu-fuse-setup.sh | bash"
|
|
||||||
```
|
```
|
||||||
Setup using portainer [docker compose](docker/docker-compose.yaml).
|
|
||||||
|
|
||||||
## Fresh Install
|
Or you can manual clone the repository and execute
|
||||||
|
|
||||||
### Install Portainer
|
### From Repository
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
lxc exec $containername -- bash -c "curl https://git.limbosolutions.com/kb/portainer/scripts/setup.sh | bash"
|
cd ~/
|
||||||
lxc exec $containername -- bash -c "docker container list"
|
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
|
||||||
```
|
```
|
||||||
|
|
||||||
### Setup
|
## Setup Services
|
||||||
|
|
||||||
1) Enter portainer (default port 9443)
|
1) Enter portainer (default port 9443)
|
||||||
2) Setup Credentials
|
2) Setup Credentials
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
## Create a container
|
## Create a container
|
||||||
lxc launch ubuntu $LXC_CONTAINER_NAME -p $LXC_PROFILE && \
|
lxc launch ubuntu $LXC_CONTAINER_NAME -p $LXC_PROFILE && \
|
||||||
|
|
||||||
|
|||||||
3
scripts/setup.sh
Normal file
3
scripts/setup.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
chmod +x ./setup-lxc.sh
|
||||||
|
./setup-lxc.sh
|
||||||
4
scripts/web-setup.sh
Normal file
4
scripts/web-setup.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
git clone https://git.limbosolutions.com/limbosolutions.com/git.limbosolutions.com
|
||||||
|
chmod +x ./git.limbosolutions.com/scripts/setup.sh
|
||||||
|
./git.limbosolutions.com/scripts/setup.sh
|
||||||
Reference in New Issue
Block a user