mirror of
https://github.com/BastilleBSD/templates.git
synced 2025-12-10 17:00:30 +01:00
Merge pull request #16 from BastilleBSD/2025-cleanup
This commit is contained in:
34
README.md
34
README.md
@@ -1,17 +1,12 @@
|
|||||||
# Bastille Combined Templates
|
# Bastille Templates
|
||||||
|
|
||||||
## Status - Beta
|
## Status - Beta
|
||||||
This repository is a collection of Bastille templates all aggregated into
|
This repository is a collection of Bastille templates all aggregated into one
|
||||||
one place. This means you can add ALL the templates with one command. What's
|
place. This means you can add ALL the templates with one command. What's more,
|
||||||
more, the structure mimicks the FreeBSD ports tree. This means that you should
|
the structure mimicks the FreeBSD ports tree. This means that you should be
|
||||||
be able to find a template in a standard location to match any package origin.
|
able to find a template in a standard location to match any package origin.
|
||||||
|
|
||||||
Code is being tested to support this new combined method alongside the existing
|
|
||||||
format. This means you can still use your existing custom templates while also
|
|
||||||
taking advantage of the new combined collection.
|
|
||||||
|
|
||||||
This status will be removed once this new support has been added and merged.
|
|
||||||
|
|
||||||
|
## Usage
|
||||||
To use templates you must have git installed on your system.
|
To use templates you must have git installed on your system.
|
||||||
```shell
|
```shell
|
||||||
pkg install git
|
pkg install git
|
||||||
@@ -22,13 +17,18 @@ pkg install git
|
|||||||
bastille bootstrap https://github.com/bastillebsd/templates
|
bastille bootstrap https://github.com/bastillebsd/templates
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Bastille Usage
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET [pkg/origin]
|
bastille template TARGET [category/port]
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
## Rocinante Usage
|
||||||
|
```shell
|
||||||
|
rocinante template [category/port]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Bastille Examples
|
||||||
|
```shell
|
||||||
bastille template TARGET www/nginx
|
bastille template TARGET www/nginx
|
||||||
bastille template TARGET shells/zsh
|
bastille template TARGET shells/zsh
|
||||||
bastille template TARGET lang/python311
|
bastille template TARGET lang/python311
|
||||||
@@ -36,3 +36,9 @@ bastille template TARGET databases/mariadb1011-server
|
|||||||
...etc...
|
...etc...
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Rocinante Examples
|
||||||
|
```shell
|
||||||
|
rocinante template x11/slim
|
||||||
|
rocinante template net/openntpd
|
||||||
|
```
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
## influxdb
|
## influxdb
|
||||||
Bastille Template to bootstrap InfluxDB
|
Bastille template to bootstrap InfluxDB
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
@@ -1,15 +1,8 @@
|
|||||||
## Status
|
|
||||||
[](https://gitlab.com/bastillebsd-templates/percona/commits/master)
|
|
||||||
|
|
||||||
## percona
|
## percona
|
||||||
Bastille Template: percona
|
Bastille template: percona
|
||||||
|
|
||||||
Fetch and apply this template with:
|
Fetch and apply this template with:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bastille bootstrap https://gitlab.com/bastillebsd-templates/percona
|
bastille template TARGET databases/percona
|
||||||
bastille template TARGET bastillebsd-templates/percona
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Description
|
|
||||||
This template installs a percona server and client.
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
## unbound
|
## unbound
|
||||||
Bastille Template for an Unbound DNS container
|
Bastille template for an Unbound DNS container
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
## Status
|
|
||||||
[](https://gitlab.com/bastillebsd-templates/minecraft-server/commits/master)
|
|
||||||
|
|
||||||
## minecraft-server
|
## minecraft-server
|
||||||
Bastille template for a minecraft server.
|
Bastille template for a minecraft server.
|
||||||
|
|
||||||
@@ -20,7 +17,7 @@ existing on the host system.
|
|||||||
To install (or update) `/usr/ports` on the host system use `portsnap` as seen here:
|
To install (or update) `/usr/ports` on the host system use `portsnap` as seen here:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
ishmael ~ # portsnap fetch auto
|
portsnap fetch auto
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: the ports tree is mounted read-only within the container.
|
Note: the ports tree is mounted read-only within the container.
|
||||||
@@ -28,7 +25,7 @@ Note: the ports tree is mounted read-only within the container.
|
|||||||
## Apply template
|
## Apply template
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
ishmael ~ # bastille template TARGET bastillebsd-templates/minecraft-server
|
bastille template TARGET games/minecraft-server
|
||||||
```
|
```
|
||||||
|
|
||||||
## Access server console
|
## Access server console
|
||||||
@@ -37,7 +34,7 @@ The minecraft server will run in `STANDALONE` mode meaning the service execution
|
|||||||
will happen within a `tmux` session. To access this session use this command:
|
will happen within a `tmux` session. To access this session use this command:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
ishmael ~ # bastille service TARGET minecraft console
|
bastille service TARGET minecraft console
|
||||||
```
|
```
|
||||||
|
|
||||||
Tip: `tmux` session management is handled using `ctrl-b` prefix. To exit the
|
Tip: `tmux` session management is handled using `ctrl-b` prefix. To exit the
|
||||||
|
|||||||
@@ -1,11 +1,6 @@
|
|||||||
## golang
|
## golang
|
||||||
Bastille template to bootstrap Go 1.20
|
Bastille template to bootstrap Go 1.20
|
||||||
|
|
||||||
## Bootstrap
|
|
||||||
```shell
|
|
||||||
bastille bootstrap https://github.com/bastillebsd/templates
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET lang/go120
|
bastille template TARGET lang/go120
|
||||||
|
|||||||
1
lang/perl/Bastillefile
Normal file
1
lang/perl/Bastillefile
Normal file
@@ -0,0 +1 @@
|
|||||||
|
PKG perl5-devel
|
||||||
@@ -1 +0,0 @@
|
|||||||
perl5-devel
|
|
||||||
@@ -1,10 +1,7 @@
|
|||||||
## Status
|
|
||||||
[](https://gitlab.com/bastillebsd-templates/perl/commits/master)
|
|
||||||
|
|
||||||
## perl
|
## perl
|
||||||
Bastille Template to bootstrap perl5-devel
|
Bastille Template to bootstrap perl5-devel
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/perl
|
bastille template TARGET lang/perl
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ Bastille template to bootstrap PHP
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/php
|
bastille template TARGET lang/php
|
||||||
```
|
```
|
||||||
|
|||||||
1
lang/ruby/Bastillefile
Normal file
1
lang/ruby/Bastillefile
Normal file
@@ -0,0 +1 @@
|
|||||||
|
PKG ruby
|
||||||
@@ -1 +0,0 @@
|
|||||||
ruby
|
|
||||||
@@ -1,10 +1,7 @@
|
|||||||
## Status
|
|
||||||
[](https://gitlab.com/bastillebsd-templates/ruby/commits/master)
|
|
||||||
|
|
||||||
## ruby
|
## ruby
|
||||||
Bastille template to bootstrap ruby
|
Bastille template to bootstrap ruby
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/ruby
|
bastille template TARGET lang/ruby
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# rust
|
# rust
|
||||||
Bastille Template to bootstrap Rust
|
Bastille template to bootstrap Rust
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
@@ -1,12 +1,8 @@
|
|||||||
## Status
|
|
||||||
[](https://gitlab.com/bastillebsd-templates/n8n/commits/master)
|
|
||||||
|
|
||||||
|
|
||||||
## n8n
|
## n8n
|
||||||
Bastille Template for a n8n
|
Bastille Template for a n8n
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
ishmael ~ # bastille template TARGET bastillebsd-templates/n8n
|
bastille template TARGET misc/n8n
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
|
|
||||||
## Uptime-Kuma
|
## Uptime-Kuma
|
||||||
Bastille Template for [Uptime Kuma](https://github.com/louislam/uptime-kuma) a self-hosted monitoring tool
|
Bastille Template for [Uptime Kuma](https://github.com/louislam/uptime-kuma) a self-hosted monitoring tool
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/uptime-kuma
|
bastille template TARGET misc/uptime-kuma
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
|
|
||||||
## jellyfin
|
## jellyfin
|
||||||
Bastille Template for Jellyfin
|
Bastille template for Jellyfin
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/jellyfin
|
bastille template TARGET multimedia/jellyfin
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
## plexmediaserver-plexpass
|
## plexmediaserver-plexpass
|
||||||
Bastille template for PlexMediaServer PlexPass
|
Bastille template for Plex Media Server PlexPass Edition
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
## plexmediaserver
|
## plexmediaserver
|
||||||
Bastille Template for a Plex Server Jail
|
Bastille template for a Plex Media Server
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
## prometheus
|
## prometheus
|
||||||
Bastille Template to bootstrap Prometheus.
|
Bastille template to bootstrap Prometheus.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
|
|
||||||
## semaphore
|
## semaphore
|
||||||
Bastille Template for Semaphore
|
Bastille template for Semaphore
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
ishmael ~ # bastille template TARGET bastillebsd-templates/semaphore
|
bastille template TARGET net-mgmt/semaphore
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
## telegraf
|
## telegraf
|
||||||
Bastille Template to bootstrap Telegraf
|
Bastille template to bootstrap Telegraf
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ Bastille template to bootstrap Unifi
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/unifi
|
bastille template TARGET net-mgmt/unifi
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
## Status
|
# zabbix-agent
|
||||||
[](https://gitlab.com/bastillebsd-templates/zabbix-agent/commits/master)
|
Bastille template to bootstrap zabbix-agent
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/zabbix-agent
|
bastille template TARGET net-mgmt/zabbix-agent
|
||||||
```
|
```
|
||||||
|
|
||||||
## Post Install Steps
|
## Post Install Steps
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
INCLUDE bastillebsd-templates/nginx
|
INCLUDE www/nginx
|
||||||
INCLUDE bastillebsd-templates/mysql-server
|
INCLUDE databases/mysql-server
|
||||||
PKG zabbix54-server zabbix54-frontend zabbix54-agent
|
PKG zabbix54-server zabbix54-frontend zabbix54-agent
|
||||||
|
|
||||||
SYSRC zabbix_server_enable=YES
|
SYSRC zabbix_server_enable=YES
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
|
|
||||||
## zabbix-server
|
## zabbix-server
|
||||||
Bastille template to bootstrap zabbix-server
|
Bastille template to bootstrap zabbix-server
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/zabbix-server
|
bastille template TARGET net-mgmt/zabbix-server
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,15 +1,11 @@
|
|||||||
## Status
|
|
||||||
|
|
||||||
[](https://gitlab.com/bastillebsd-templates/bazarr/commits/main)
|
|
||||||
|
|
||||||
## Bazarr
|
## Bazarr
|
||||||
|
Bazarr is a companion application to Sonarr and Radarr that manages and
|
||||||
Bazarr is a companion application to Sonarr and Radarr that manages and downloads subtitles based on your requirements.
|
downloads subtitles based on your requirements.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/bazarr
|
bastille template TARGET net-p2p/bazarr
|
||||||
```
|
```
|
||||||
|
|
||||||
For more options edit `/usr/local/bastille/templates/bastillebsd-templates/bazarr/Bastillefile`
|
For more options edit `/usr/local/bastille/templates/net-p2p/bazarr/Bastillefile`
|
||||||
|
|||||||
@@ -1,16 +1,14 @@
|
|||||||
## Status
|
|
||||||
|
|
||||||
[](https://gitlab.com/bastillebsd-templates/lidarr/commits/main)
|
|
||||||
|
|
||||||
## Lidarr
|
## Lidarr
|
||||||
|
Lidarr is a music collection manager for Usenet and BitTorrent users. It can
|
||||||
Lidarr is a music collection manager for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new tracks from your favorite artists and will grab, sort and rename them. It can also be configured
|
monitor multiple RSS feeds for new tracks from your favorite artists and will
|
||||||
to automatically upgrade the quality of files already downloaded when a better quality format becomes available.
|
grab, sort and rename them. It can also be configured to automatically upgrade
|
||||||
|
the quality of files already downloaded when a better quality format becomes
|
||||||
|
available.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/lidarr
|
bastille template TARGET net-p2p/lidarr
|
||||||
```
|
```
|
||||||
|
|
||||||
For more options edit `/usr/local/bastille/templates/bastillebsd-templates/lidarr/Bastillefile`
|
For more options edit `/usr/local/bastille/templates/net-p2p/lidarr/Bastillefile`
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
## Status
|
|
||||||
[](https://gitlab.com/bastillebsd-templates/prowlarr/commits/main)
|
|
||||||
|
|
||||||
## Prowlarr
|
## Prowlarr
|
||||||
Prowlarr is an indexer manager/proxy built on the popular arr .net/reactjs base stack to integrate with your various PVR apps. Prowlarr supports management of both Torrent Trackers and Usenet Indexers. It integrates seamlessly with Lidarr, Mylar3, Radarr, Readarr, and Sonarr offering complete management of your indexers with no per app Indexer setup required (we do it all).
|
Prowlarr is an indexer manager/proxy built on the popular arr .net/reactjs base
|
||||||
|
stack to integrate with your various PVR apps. Prowlarr supports management of
|
||||||
|
both Torrent Trackers and Usenet Indexers. It integrates seamlessly with
|
||||||
|
Lidarr, Mylar3, Radarr, Readarr, and Sonarr offering complete management of
|
||||||
|
your indexers with no per app Indexer setup required (we do it all).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/prowlarr
|
bastille template TARGET net-p2p/prowlarr
|
||||||
```
|
```
|
||||||
|
|
||||||
For more options edit `/usr/local/bastille/templates/bastillebsd-templates/Prowlarr/Bastillefile`
|
For more options edit `/usr/local/bastille/templates/net-p2p/prowlarr/Bastillefile`
|
||||||
|
|||||||
@@ -1,11 +1,8 @@
|
|||||||
## Status
|
|
||||||
[](https://gitlab.com/bastillebsd-templates/radarr/commits/main)
|
|
||||||
|
|
||||||
## Radarr
|
## Radarr
|
||||||
Bastille Template for Radarr
|
Bastille template for Radarr
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/radarr
|
bastille template TARGET net-p2p/radarr
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
|
|
||||||
## sonarr
|
## sonarr
|
||||||
Bastille Template for Sonarr
|
Bastille template for Sonarr
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/sonarr
|
bastille template TARGET net-p2p/sonarr
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ instructions on how to do so.
|
|||||||
### custom config
|
### custom config
|
||||||
Use a custom `/etc/ssh/sshd_config` in the template:
|
Use a custom `/etc/ssh/sshd_config` in the template:
|
||||||
|
|
||||||
1. fork bastillebsd-templates/openssh-server
|
1. fork security/openssh-server
|
||||||
2. add an `CP etc` directive to the Bastillefile
|
2. add an `CP etc` directive to the Bastillefile
|
||||||
3. add an `etc/ssh/sshd_config` in the template
|
3. add an `etc/ssh/sshd_config` in the template
|
||||||
4. commit; bootstrap fork; apply template
|
4. commit; bootstrap fork; apply template
|
||||||
@@ -21,6 +21,6 @@ Use a custom `/etc/ssh/sshd_config` in the template:
|
|||||||
### Use custom `sshd_flags`:
|
### Use custom `sshd_flags`:
|
||||||
Use custom `sshd_flags` in jailed ssh service:
|
Use custom `sshd_flags` in jailed ssh service:
|
||||||
|
|
||||||
1. fork bastillebsd-templates/openssh-server
|
1. fork security/openssh-server
|
||||||
2. update the Bastillefile and add `SYSRC sshd_flags=""`
|
2. update the Bastillefile and add `SYSRC sshd_flags=""`
|
||||||
3. commit; bootstrap fork; apply template
|
3. commit; bootstrap fork; apply template
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
## zsh-antigen
|
## zsh-antigen
|
||||||
Bastille Template to setup zsh-antigen
|
Bastille template to setup zsh-antigen
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
4
sysutils/bastille/Bastillefile
Normal file
4
sysutils/bastille/Bastillefile
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
PKG bastille
|
||||||
|
SYSRC bastille_enable=YES
|
||||||
|
CMD bastille setup
|
||||||
|
CMD bastille bootstrap https://github.com/bastillebsd/templates
|
||||||
13
sysutils/bastille/README.md
Normal file
13
sysutils/bastille/README.md
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# sysutils/bastille
|
||||||
|
Jail automation framework
|
||||||
|
https://bastillebsd.org
|
||||||
|
|
||||||
|
## Bastille Usage
|
||||||
|
```shell
|
||||||
|
bastille template TARGET sysutils/bastille
|
||||||
|
```
|
||||||
|
|
||||||
|
## Rocinante Usage
|
||||||
|
```shell
|
||||||
|
rocinante template sysutils/bastille
|
||||||
|
```
|
||||||
2
sysutils/rocinante/Bastillefile
Normal file
2
sysutils/rocinante/Bastillefile
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
PKG rocinante
|
||||||
|
CMD rocinante bootstrap https://github.com/bastillebsd/templates
|
||||||
12
sysutils/rocinante/README.md
Normal file
12
sysutils/rocinante/README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# rocinante
|
||||||
|
Bastille template to bootstrap Rocinante
|
||||||
|
|
||||||
|
## Bastille Usage
|
||||||
|
```shell
|
||||||
|
bastille template TARGET sysutils/rocinante
|
||||||
|
```
|
||||||
|
|
||||||
|
## Rocinante Usage
|
||||||
|
```shell
|
||||||
|
rocinante template sysutils/rocinante
|
||||||
|
```
|
||||||
@@ -3,5 +3,5 @@ Bastille template to bootstrap Salt Minion
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
ishmael ~ # bastille template TARGET sysutils/salt-minion
|
bastille template TARGET sysutils/salt-minion
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
|
|
||||||
## adguardhome-exporter
|
## adguardhome-exporter
|
||||||
Bastille Template for Adguard Home Prometheus Exporter
|
Bastille template for Adguard Home Prometheus Exporter
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/adguardhome-exporter
|
bastille template TARGET www/adguardhome-exporter
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
## adguardhome
|
## adguardhome
|
||||||
Bastille Template for Adguard Home
|
Bastille template for Adguard Home
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
11
www/forgejo/Bastillefile
Normal file
11
www/forgejo/Bastillefile
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
ARG SECRET_KEY
|
||||||
|
ARG JWT_SECRET
|
||||||
|
ARG INTERNAL_TOKEN
|
||||||
|
|
||||||
|
PKG forgejo
|
||||||
|
CP usr /
|
||||||
|
RENDER /usr/local/etc/forgejo/conf/app.ini
|
||||||
|
CMD chown -R git:git /usr/local/etc/forgejo
|
||||||
|
SYSRC forgejo_enable=YES
|
||||||
|
CMD export FORGEJO_CUSTOM=/usr/local/etc/forgejo
|
||||||
|
SERVICE forgejo start
|
||||||
13
www/forgejo/README.md
Normal file
13
www/forgejo/README.md
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# www/forgejo
|
||||||
|
Compact self-hosted Git service
|
||||||
|
https://forgejo.org/
|
||||||
|
|
||||||
|
## Bastille Usage
|
||||||
|
```shell
|
||||||
|
bastille template TARGET www/forgejo --arg SECRET_KEY=`openssl rand -base64 16` --arg JWT_SECRET=`openssl rand -base64 32` --arg INTERNAL_TOKEN=`openssl rand -base64 64`
|
||||||
|
```
|
||||||
|
|
||||||
|
## Rocinante Usage
|
||||||
|
```shell
|
||||||
|
bastille template www/forgejo --arg SECRET_KEY=`openssl rand -base64 16` --arg JWT_SECRET=`openssl rand -base64 32` --arg INTERNAL_TOKEN=`openssl rand -base64 64`
|
||||||
|
```
|
||||||
92
www/forgejo/usr/local/etc/gitea/conf/app.ini
Normal file
92
www/forgejo/usr/local/etc/gitea/conf/app.ini
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
#
|
||||||
|
# Sample Configuration for Gitea using SQLite
|
||||||
|
#
|
||||||
|
# For information on the available settings, consult the online
|
||||||
|
# documentation, or see the accompanying file app.ini.defaults, which
|
||||||
|
# contains the settings incorporated into the gitea binary.
|
||||||
|
#
|
||||||
|
# This sample configuration runs Gitea with a local database. Before
|
||||||
|
# running this configuration, make sure to change the INTERNAL_TOKEN,
|
||||||
|
# JWT_SECRET, and SECRET_KEY variables. SECRET_KEY is a password of your
|
||||||
|
# choosing, INTERNAL_TOKEN is a 64-byte random number in BASE64 encoding,
|
||||||
|
# JWT_SECRET is a 32-byte random number in BASE64 encoding.
|
||||||
|
#
|
||||||
|
# You can generate the token using for example:
|
||||||
|
# openssl rand -base64 64
|
||||||
|
#
|
||||||
|
# You can let Gitea add these to the config for you; you need to make
|
||||||
|
# app.ini writeable by the git user.
|
||||||
|
#
|
||||||
|
# There are no pre-configured users; the first user to register becomes an
|
||||||
|
# admin. In this sample configuration, the HTTP server only listens on
|
||||||
|
# localhost.
|
||||||
|
#
|
||||||
|
# If you'd rather use the web-based installer, remove this conf/app.ini file
|
||||||
|
# and make /usr/local/etc/gitea/conf writeable to the git user.
|
||||||
|
APP_NAME = Gitea: Git with a cup of tea
|
||||||
|
RUN_USER = git
|
||||||
|
RUN_MODE = prod
|
||||||
|
|
||||||
|
[database]
|
||||||
|
DB_TYPE = sqlite3
|
||||||
|
HOST = ${JAIL_IP}:3306
|
||||||
|
NAME = gitea
|
||||||
|
PASSWD =
|
||||||
|
PATH = /var/db/gitea/gitea.db
|
||||||
|
SSL_MODE = disable
|
||||||
|
USER = root
|
||||||
|
|
||||||
|
[indexer]
|
||||||
|
ISSUE_INDEXER_PATH = /var/db/gitea/indexers/issues.bleve
|
||||||
|
|
||||||
|
[log]
|
||||||
|
ROOT_PATH = /var/log/gitea
|
||||||
|
MODE = file
|
||||||
|
LEVEL = Info
|
||||||
|
|
||||||
|
[mailer]
|
||||||
|
ENABLED = false
|
||||||
|
|
||||||
|
[oauth2]
|
||||||
|
JWT_SECRET = ${JWT_SECRET}
|
||||||
|
|
||||||
|
[picture]
|
||||||
|
AVATAR_UPLOAD_PATH = /var/db/gitea/data/avatars
|
||||||
|
DISABLE_GRAVATAR = false
|
||||||
|
ENABLE_FEDERATED_AVATAR = false
|
||||||
|
|
||||||
|
[repository]
|
||||||
|
ROOT = /var/db/gitea/gitea-repositories
|
||||||
|
# Gitea's default is 'bash', so if you have bash installed, you can comment
|
||||||
|
# this out.
|
||||||
|
SCRIPT_TYPE = sh
|
||||||
|
|
||||||
|
[repository.upload]
|
||||||
|
TEMP_PATH = /var/db/gitea/data/tmp/uploads
|
||||||
|
|
||||||
|
[security]
|
||||||
|
INSTALL_LOCK = true
|
||||||
|
INTERNAL_TOKEN = ${INTERNAL_TOKEN}
|
||||||
|
SECRET_KEY = ${SECRET_KEY}
|
||||||
|
|
||||||
|
[session]
|
||||||
|
PROVIDER = file
|
||||||
|
PROVIDER_CONFIG = /var/db/gitea/data/sessions
|
||||||
|
|
||||||
|
[server]
|
||||||
|
DOMAIN = ${JAIL_NAME}
|
||||||
|
HTTP_ADDR = ${JAIL_IP}
|
||||||
|
HTTP_PORT = 3000
|
||||||
|
ROOT_URL = http://${JAIL_IP}:3000/
|
||||||
|
DISABLE_SSH = false
|
||||||
|
SSH_DOMAIN = %(DOMAIN)s
|
||||||
|
SSH_PORT = 22
|
||||||
|
OFFLINE_MODE = false
|
||||||
|
APP_DATA_PATH = /var/db/gitea/data
|
||||||
|
|
||||||
|
[service]
|
||||||
|
REGISTER_EMAIL_CONFIRM = false
|
||||||
|
ENABLE_NOTIFY_MAIL = false
|
||||||
|
DISABLE_REGISTRATION = false
|
||||||
|
ENABLE_CAPTCHA = true
|
||||||
|
REQUIRE_SIGNIN_VIEW = false
|
||||||
@@ -1 +0,0 @@
|
|||||||
gitlab-ce
|
|
||||||
@@ -3,5 +3,5 @@ Bastille template to bootstrap GitLab CE
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```shell
|
```shell
|
||||||
bastille template TARGET bastillebsd-templates/gitlab-ce
|
bastille template TARGET www/gitlab-ce
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
gitlab start
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
gitlab_enable=YES
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
INCLUDE bastillebsd-templates/mariadb-server
|
INCLUDE databases/mariadb-server
|
||||||
INCLUDE bastillebsd-templates/apache
|
INCLUDE www/apache
|
||||||
|
|
||||||
PKG nextcloud-php74
|
PKG nextcloud-php84
|
||||||
|
|||||||
Reference in New Issue
Block a user