Added gitea CT

This commit is contained in:
2021-09-20 16:01:27 +00:00
parent 7166ee0c09
commit 1782f6e77b
9 changed files with 270 additions and 6 deletions

View File

@@ -21,6 +21,33 @@ This can be done on a Minimal debian CT (make sure to enable nesting) on the new
| jenkins | Debian | Jenkins server |
| jenkinsBuilder | Debian | Basic node for Jenkins |
| imgbuilder | Debian | LXC template builder node for Jenkins |
| mysql | Debian | Mysql server with PhpMyadmin |
| gitea | Alpine | Gitea server |
## TODO
Domoticz
Hass+Mqtt
Z2mqtt+zw2mqtt
SMB
iSCSI
Nginx
Nextcloud
JellyFin
AptCacherNG
NodeRed
Omada
Unifi
Docker
PiHole
dDNS
Colabora
MailBackup*
FileShelter/transfer.sh
WS(x2go-xfce)
# Container Setup
@@ -33,7 +60,7 @@ This can be done on a Minimal debian CT (make sure to enable nesting) on the new
5. Create folders on mountpoint using `mkdir /LXCBuild/template/cache`
6. Set permissions on the folder `chmod o+w -R /LXCBuild`
7. Write down the ip of this server (for use in the jenkins container)
## Jenkins
## jenkins
1. In the container configure the setup script `nano /opt/Setup/Scripts/FirstRun.sh`
2. In the container run the setup script `bash /opt/Setup/Scripts/FirstRun.sh`
3. Acces Jenkins using `http://<ip>:8080`
@@ -43,4 +70,9 @@ This can be done on a Minimal debian CT (make sure to enable nesting) on the new
Under Credentials click 'Add', enter 'jenkins' as username, and set the password that was set in the imgbuilder CT
Then select the created credential and click save
7. Click 'Relaunch agent'
8. Now you can build container images
8. Now you can build container images
## mysql
1. To configure the MySQL root password in the container run the setup script `bash /opt/Setup/Scripts/FirstRun.sh`
## gitea
1. Edit the parameters in the FistRun script in the container `vi /opt/Setup/Scripts/FirstRun.sh`
2. Run the FistRun scipt in the container `ash /opt/Setup/Scripts/FirstRun.sh`