From 11e0766184ea73395ffef2b6156ce67b8c0afe29 Mon Sep 17 00:00:00 2001 From: Barry McCormick Date: Sun, 8 Oct 2023 10:48:01 -0700 Subject: [PATCH] Bootstrap cleanup (#4) * README cleanup * template migration * convert percona to new bastillefile format * convert gitlab to bastillefile format * convert php to bastillefile format --------- Co-authored-by: Barry McCormick --- databases/influxdb/README.md | 5 -- databases/mariadb-server/README.md | 5 -- databases/memcached/README.md | 5 -- databases/mysql-server/README.md | 5 -- databases/percona/Bastillefile | 4 ++ databases/percona/README.md | 15 +++++ databases/redis/README.md | 5 -- databases/tile38-server/README.md | 5 -- devel/jenkins/README.md | 5 -- dns/dnsmasq/README.md | 5 -- dns/unbound-adblock/README.md | 5 -- dns/unbound/README.md | 5 -- games/minecraft-server/Bastillefile | 19 ++++++ games/minecraft-server/LICENSE | 29 +++++++++ games/minecraft-server/README.md | 44 ++++++++++++++ games/minecraft-server/etc/fstab | 2 + games/minecraft-server/etc/make.conf | 4 ++ .../usr/local/etc/minecraft-server/eula.txt | 3 + .../db/ports/games_minecraft-server/options | 6 ++ java/openjdk/README.md | 5 -- lang/go-devel/README.md | 5 -- lang/go/README.md | 5 -- lang/go119/README.md | 5 -- lang/go121/README.md | 5 -- lang/luajit/README.md | 5 -- lang/perl/LICENSE | 29 +++++++++ lang/perl/PKG | 1 + lang/perl/README.md | 10 ++++ lang/php/Bastillefile | 3 + lang/php/LICENSE | 29 +++++++++ lang/php/README.md | 7 +++ lang/python/README.md | 5 -- lang/ruby/LICENSE | 29 +++++++++ lang/ruby/PKG | 1 + lang/ruby/README.md | 10 ++++ lang/rust/README.md | 7 +-- mail/postfix/README.md | 5 -- misc/n8n/Bastillefile | 7 +++ misc/n8n/LICENSE | 29 +++++++++ misc/n8n/README.md | 12 ++++ misc/uptime-kuma/Bastillefile | 11 ++++ misc/uptime-kuma/LICENSE | 30 ++++++++++ misc/uptime-kuma/README.md | 9 +++ multimedia/jellyfin/Bastillefile | 8 +++ multimedia/jellyfin/LICENSE | 29 +++++++++ multimedia/jellyfin/LICENSE | 29 +++++++++ multimedia/jellyfin/README.md | 8 +++ multimedia/plexmediaserver-plexpass/README.md | 6 -- multimedia/plexmediaserver/README.md | 5 -- net-mgmt/prometheus/README.md | 5 -- net-mgmt/semaphore/Bastillefile | 21 +++++++ net-mgmt/semaphore/LICENSE | 29 +++++++++ net-mgmt/semaphore/README.md | 9 +++ .../usr/local/etc/semaphore/config.json | 59 +++++++++++++++++++ net-mgmt/telegraf/README.md | 5 -- net-mgmt/unifi/Bastillefile | 4 ++ net-mgmt/unifi/README.md | 7 +++ net-mgmt/zabbix-agent/Bastillefile | 4 ++ net-mgmt/zabbix-agent/LICENSE | 29 +++++++++ net-mgmt/zabbix-agent/README.md | 27 +++++++++ net-mgmt/zabbix-server/Bastillefile | 25 ++++++++ net-mgmt/zabbix-server/README.md | 9 +++ net-p2p/bazarr/Bastillefile | 29 +++++++++ net-p2p/bazarr/LICENSE | 29 +++++++++ net-p2p/bazarr/README.md | 15 +++++ net-p2p/lidarr/Bastillefile | 29 +++++++++ net-p2p/lidarr/LICENSE | 29 +++++++++ net-p2p/lidarr/README.md | 16 +++++ net-p2p/prowlarr/Bastillefile | 29 +++++++++ net-p2p/prowlarr/LICENSE | 29 +++++++++ net-p2p/prowlarr/README.md | 12 ++++ net-p2p/radarr/Bastillefile | 6 ++ net-p2p/radarr/LICENSE | 29 +++++++++ net-p2p/radarr/README.md | 11 ++++ net-p2p/sonarr/Bastillefile | 6 ++ net-p2p/sonarr/LICENSE | 29 +++++++++ net-p2p/sonarr/README.md | 8 +++ net/asterisk/README.md | 5 -- security/openssh-server/README.md | 5 -- security/vault/README.md | 5 -- shells/zsh-antigen/README.md | 5 -- sysutils/consul/README.md | 5 -- sysutils/salt-master/README.md | 5 -- sysutils/salt-minion/README.md | 5 -- sysutils/syslog-ng/README.md | 6 -- sysutils/tarsnap/README.md | 5 -- textproc/elasticsearch/README.md | 5 -- textproc/kibana/README.md | 5 -- www/adguardhome-exporter/.gitlab-ci.yml | 18 ++++++ www/adguardhome-exporter/Bastillefile | 8 +++ www/adguardhome-exporter/LICENSE | 29 +++++++++ www/adguardhome-exporter/README.md | 8 +++ www/adguardhome/README.md | 5 -- www/apache/README.md | 5 -- www/caddy/README.md | 5 -- www/firefox/README.md | 7 +-- www/gitea/README.md | 5 -- www/gitlab-ce/Bastillefile | 3 + www/gitlab-ce/LICENSE | 29 +++++++++ www/gitlab-ce/PKG | 1 + www/gitlab-ce/README.md | 7 +++ www/gitlab-ce/SERVICE | 1 + www/gitlab-ce/SYSRC | 1 + www/grafana/README.md | 5 -- www/guacamole/README.md | 5 -- www/haproxy/README.md | 5 -- www/nextcloud/README.md | 5 -- www/nginx-poudriere-pkg-conf/README.md | 5 -- www/nginx-poudriere/README.md | 5 -- www/nginx/README.md | 5 -- www/node/README.md | 5 -- www/npm/README.md | 5 -- www/traefik/README.md | 5 -- www/varnish/README.md | 5 -- www/wordpress/README.md | 5 -- www/yarn/README.md | 5 -- 116 files changed, 1053 insertions(+), 264 deletions(-) create mode 100644 databases/percona/Bastillefile create mode 100644 databases/percona/README.md create mode 100644 games/minecraft-server/Bastillefile create mode 100644 games/minecraft-server/LICENSE create mode 100644 games/minecraft-server/README.md create mode 100644 games/minecraft-server/etc/fstab create mode 100644 games/minecraft-server/etc/make.conf create mode 100644 games/minecraft-server/usr/local/etc/minecraft-server/eula.txt create mode 100644 games/minecraft-server/var/db/ports/games_minecraft-server/options create mode 100644 lang/perl/LICENSE create mode 100644 lang/perl/PKG create mode 100644 lang/perl/README.md create mode 100644 lang/php/Bastillefile create mode 100644 lang/php/LICENSE create mode 100644 lang/php/README.md create mode 100644 lang/ruby/LICENSE create mode 100644 lang/ruby/PKG create mode 100644 lang/ruby/README.md create mode 100644 misc/n8n/Bastillefile create mode 100644 misc/n8n/LICENSE create mode 100644 misc/n8n/README.md create mode 100644 misc/uptime-kuma/Bastillefile create mode 100644 misc/uptime-kuma/LICENSE create mode 100644 misc/uptime-kuma/README.md create mode 100644 multimedia/jellyfin/Bastillefile create mode 100644 multimedia/jellyfin/LICENSE create mode 100644 multimedia/jellyfin/LICENSE create mode 100644 multimedia/jellyfin/README.md create mode 100644 net-mgmt/semaphore/Bastillefile create mode 100644 net-mgmt/semaphore/LICENSE create mode 100644 net-mgmt/semaphore/README.md create mode 100644 net-mgmt/semaphore/usr/local/etc/semaphore/config.json create mode 100644 net-mgmt/unifi/Bastillefile create mode 100644 net-mgmt/unifi/README.md create mode 100644 net-mgmt/zabbix-agent/Bastillefile create mode 100644 net-mgmt/zabbix-agent/LICENSE create mode 100644 net-mgmt/zabbix-agent/README.md create mode 100644 net-mgmt/zabbix-server/Bastillefile create mode 100644 net-mgmt/zabbix-server/README.md create mode 100644 net-p2p/bazarr/Bastillefile create mode 100644 net-p2p/bazarr/LICENSE create mode 100644 net-p2p/bazarr/README.md create mode 100644 net-p2p/lidarr/Bastillefile create mode 100644 net-p2p/lidarr/LICENSE create mode 100644 net-p2p/lidarr/README.md create mode 100644 net-p2p/prowlarr/Bastillefile create mode 100644 net-p2p/prowlarr/LICENSE create mode 100644 net-p2p/prowlarr/README.md create mode 100644 net-p2p/radarr/Bastillefile create mode 100644 net-p2p/radarr/LICENSE create mode 100644 net-p2p/radarr/README.md create mode 100644 net-p2p/sonarr/Bastillefile create mode 100644 net-p2p/sonarr/LICENSE create mode 100644 net-p2p/sonarr/README.md create mode 100644 www/adguardhome-exporter/.gitlab-ci.yml create mode 100644 www/adguardhome-exporter/Bastillefile create mode 100644 www/adguardhome-exporter/LICENSE create mode 100644 www/adguardhome-exporter/README.md create mode 100644 www/gitlab-ce/Bastillefile create mode 100644 www/gitlab-ce/LICENSE create mode 100644 www/gitlab-ce/PKG create mode 100644 www/gitlab-ce/README.md create mode 100644 www/gitlab-ce/SERVICE create mode 100644 www/gitlab-ce/SYSRC diff --git a/databases/influxdb/README.md b/databases/influxdb/README.md index 0d21599..4a7f1e2 100644 --- a/databases/influxdb/README.md +++ b/databases/influxdb/README.md @@ -1,11 +1,6 @@ ## influxdb Bastille Template to bootstrap InfluxDB -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET databases/influxdb diff --git a/databases/mariadb-server/README.md b/databases/mariadb-server/README.md index 66ca09e..9d1bbf7 100644 --- a/databases/mariadb-server/README.md +++ b/databases/mariadb-server/README.md @@ -1,11 +1,6 @@ ## mariadb Bastille template to bootstrap MariaDB Server -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET databases/mariadb diff --git a/databases/memcached/README.md b/databases/memcached/README.md index a199ddf..db2192a 100644 --- a/databases/memcached/README.md +++ b/databases/memcached/README.md @@ -1,11 +1,6 @@ # Memcached Bastille template to bootstrap Memcached -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET databases/memcached diff --git a/databases/mysql-server/README.md b/databases/mysql-server/README.md index db84291..684a590 100644 --- a/databases/mysql-server/README.md +++ b/databases/mysql-server/README.md @@ -1,11 +1,6 @@ ## mysql Bastille template to bootstrap MySQL -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET databases/mysql-server diff --git a/databases/percona/Bastillefile b/databases/percona/Bastillefile new file mode 100644 index 0000000..5992324 --- /dev/null +++ b/databases/percona/Bastillefile @@ -0,0 +1,4 @@ +PKG percona57-server +PKG percona57-client +SYSRC mysql_enable=YES +SERVICE mysql-server start diff --git a/databases/percona/README.md b/databases/percona/README.md new file mode 100644 index 0000000..9cc59a3 --- /dev/null +++ b/databases/percona/README.md @@ -0,0 +1,15 @@ +## Status +[![pipeline status](https://gitlab.com/bastillebsd-templates/percona/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/percona/commits/master) + +## percona +Bastille Template: percona + +Fetch and apply this template with: + +```shell +bastille bootstrap https://gitlab.com/bastillebsd-templates/percona +bastille template TARGET bastillebsd-templates/percona +``` + +## Description +This template installs a percona server and client. diff --git a/databases/redis/README.md b/databases/redis/README.md index 8d4c5b1..fbd9213 100644 --- a/databases/redis/README.md +++ b/databases/redis/README.md @@ -1,11 +1,6 @@ ## redis Bastille template to bootstrap Redis -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET databases/redis diff --git a/databases/tile38-server/README.md b/databases/tile38-server/README.md index ee6afc9..c12ad3d 100644 --- a/databases/tile38-server/README.md +++ b/databases/tile38-server/README.md @@ -1,11 +1,6 @@ ## tile38 Bastille template to bootstrap Tile38 -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET databases/tile38-server diff --git a/devel/jenkins/README.md b/devel/jenkins/README.md index d0eab6d..e369a38 100644 --- a/devel/jenkins/README.md +++ b/devel/jenkins/README.md @@ -1,11 +1,6 @@ # Jenkins Bastille template to bootstrap Jenkins -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET devel/jenkins diff --git a/dns/dnsmasq/README.md b/dns/dnsmasq/README.md index 1ebe21f..c26642f 100644 --- a/dns/dnsmasq/README.md +++ b/dns/dnsmasq/README.md @@ -1,11 +1,6 @@ ## dnsmasq Bastille template to bootstrap dnsmasq -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET dns/dnsmasq diff --git a/dns/unbound-adblock/README.md b/dns/unbound-adblock/README.md index 7b4cef5..29118c7 100644 --- a/dns/unbound-adblock/README.md +++ b/dns/unbound-adblock/README.md @@ -1,11 +1,6 @@ ## unbound-adblock Bastille template to bootstrap Unbound + adblock -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET dns/unbound-adblock diff --git a/dns/unbound/README.md b/dns/unbound/README.md index 56302e9..ee38034 100644 --- a/dns/unbound/README.md +++ b/dns/unbound/README.md @@ -1,11 +1,6 @@ ## unbound Bastille Template for an Unbound DNS container -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET dns/unbound diff --git a/games/minecraft-server/Bastillefile b/games/minecraft-server/Bastillefile new file mode 100644 index 0000000..7c6bf0c --- /dev/null +++ b/games/minecraft-server/Bastillefile @@ -0,0 +1,19 @@ +ARG MINECRAFT_MEMX="1024M" +ARG MINECRAFT_MEMS="1024M" +ARG MINECRAFT_ARGS="" +CONFIG set enforce_statfs=1; +CONFIG set allow.mount.fdescfs; +CONFIG set allow.mount.procfs; +RESTART +PKG dialog4ports tmux openjdk17 +MOUNT /usr/ports usr/ports nullfs ro 0 0 +CP etc / +CP var / +CMD make -C /usr/ports/games/minecraft-server install clean +CP usr / +SYSRC minecraft_enable=YES +SYSRC minecraft_memx=${MINECRAFT_MEMX} +SYSRC minecraft_mems=${MINECRAFT_MEMS} +SYSRC minecraft_args=${MINECRAFT_ARGS} +SERVICE minecraft restart +RDR tcp 25565 25565 diff --git a/games/minecraft-server/LICENSE b/games/minecraft-server/LICENSE new file mode 100644 index 0000000..bc94c3e --- /dev/null +++ b/games/minecraft-server/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2019-2022, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/games/minecraft-server/README.md b/games/minecraft-server/README.md new file mode 100644 index 0000000..7c04454 --- /dev/null +++ b/games/minecraft-server/README.md @@ -0,0 +1,44 @@ +## Status +[![pipeline status](https://gitlab.com/bastillebsd-templates/minecraft-server/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/minecraft-server/commits/master) + +## minecraft-server +Bastille template for a minecraft server. + +Note: by installing this template you agree to the terms of the [Minecraft EULA](https://aka.ms/MinecraftEULA). + +This template includes the `eula=true` acceptance and `LICENSES_ACCEPTED+= minecraft` +settings. If you cannot abide the terms of the Minecraft EULA *do not* apply this template. + +### requirements +Due to license restrictions (see above Minecraft EULA), redistribution of +Minecraft server is prohibited. This means you must build the package manually +from the FreeBSD ports tree. + +This template will automate all the build steps but depends on `/usr/ports` +existing on the host system. + +To install (or update) `/usr/ports` on the host system use `portsnap` as seen here: + +```shell +ishmael ~ # portsnap fetch auto +``` + +Note: the ports tree is mounted read-only within the container. + +## Apply template + +```shell +ishmael ~ # bastille template TARGET bastillebsd-templates/minecraft-server +``` + +## Access server console + +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: + +```shell +ishmael ~ # bastille service TARGET minecraft console +``` + +Tip: `tmux` session management is handled using `ctrl-b` prefix. To exit the +session press `ctrl-b d`. diff --git a/games/minecraft-server/etc/fstab b/games/minecraft-server/etc/fstab new file mode 100644 index 0000000..79debe5 --- /dev/null +++ b/games/minecraft-server/etc/fstab @@ -0,0 +1,2 @@ +fdesc /dev/fd fdescfs rw 0 0 +proc /proc procfs rw 0 0 diff --git a/games/minecraft-server/etc/make.conf b/games/minecraft-server/etc/make.conf new file mode 100644 index 0000000..68800ea --- /dev/null +++ b/games/minecraft-server/etc/make.conf @@ -0,0 +1,4 @@ +WRKDIRPREFIX= /var/ports +DISTDIR= /var/ports/distfiles +PACKAGES= /var/ports/packages +LICENSES_ACCEPTED+= minecraft diff --git a/games/minecraft-server/usr/local/etc/minecraft-server/eula.txt b/games/minecraft-server/usr/local/etc/minecraft-server/eula.txt new file mode 100644 index 0000000..100493b --- /dev/null +++ b/games/minecraft-server/usr/local/etc/minecraft-server/eula.txt @@ -0,0 +1,3 @@ +#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://aka.ms/MinecraftEULA). +#Mon Oct 31 22:07:13 MDT 2022 +eula=true diff --git a/games/minecraft-server/var/db/ports/games_minecraft-server/options b/games/minecraft-server/var/db/ports/games_minecraft-server/options new file mode 100644 index 0000000..fa44b83 --- /dev/null +++ b/games/minecraft-server/var/db/ports/games_minecraft-server/options @@ -0,0 +1,6 @@ +# This file is auto-generated by 'make config'. +# Options for minecraft-server-1.19.2 +_OPTIONS_READ=minecraft-server-1.19.2 +_FILE_COMPLETE_OPTIONS_LIST= DAEMON STANDALONE +OPTIONS_FILE_SET+=DAEMON +OPTIONS_FILE_UNSET+=STANDALONE diff --git a/java/openjdk/README.md b/java/openjdk/README.md index 6f8742e..be4b525 100644 --- a/java/openjdk/README.md +++ b/java/openjdk/README.md @@ -1,11 +1,6 @@ # OpenJDK Bastille template to bootstrap OpenJDK -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET java/openjdk diff --git a/lang/go-devel/README.md b/lang/go-devel/README.md index 3b7eecf..a967e46 100644 --- a/lang/go-devel/README.md +++ b/lang/go-devel/README.md @@ -1,11 +1,6 @@ ## golang Bastille template to bootstrap Go Devel -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET lang/go-devel diff --git a/lang/go/README.md b/lang/go/README.md index ad85bfe..9843489 100644 --- a/lang/go/README.md +++ b/lang/go/README.md @@ -1,11 +1,6 @@ ## golang Bastille template to bootstrap Go -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET lang/go diff --git a/lang/go119/README.md b/lang/go119/README.md index 8dc4fb1..9093a68 100644 --- a/lang/go119/README.md +++ b/lang/go119/README.md @@ -1,11 +1,6 @@ ## golang Bastille template to bootstrap Golang 119 -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET lang/go119 diff --git a/lang/go121/README.md b/lang/go121/README.md index 2758eab..ef18ca1 100644 --- a/lang/go121/README.md +++ b/lang/go121/README.md @@ -1,11 +1,6 @@ ## golang Bastille template to bootstrap Go 1.21 -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET lang/go121 diff --git a/lang/luajit/README.md b/lang/luajit/README.md index 9baa033..aa5814b 100644 --- a/lang/luajit/README.md +++ b/lang/luajit/README.md @@ -1,11 +1,6 @@ ## luajit Bastille template to bootstrap LuaJIT -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET lang/luajit diff --git a/lang/perl/LICENSE b/lang/perl/LICENSE new file mode 100644 index 0000000..f5cdce0 --- /dev/null +++ b/lang/perl/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2019, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/lang/perl/PKG b/lang/perl/PKG new file mode 100644 index 0000000..a59a340 --- /dev/null +++ b/lang/perl/PKG @@ -0,0 +1 @@ +perl5-devel diff --git a/lang/perl/README.md b/lang/perl/README.md new file mode 100644 index 0000000..09c1ee5 --- /dev/null +++ b/lang/perl/README.md @@ -0,0 +1,10 @@ +## Status +[![pipeline status](https://gitlab.com/bastillebsd-templates/perl/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/perl/commits/master) + +## perl +Bastille Template to bootstrap perl5-devel + +## Usage +```shell +bastille template TARGET bastillebsd-templates/perl +``` diff --git a/lang/php/Bastillefile b/lang/php/Bastillefile new file mode 100644 index 0000000..152ea31 --- /dev/null +++ b/lang/php/Bastillefile @@ -0,0 +1,3 @@ +PKG php74 +SYSRC php_fpm_enable=YES +SERVICE php-fpm start diff --git a/lang/php/LICENSE b/lang/php/LICENSE new file mode 100644 index 0000000..f5cdce0 --- /dev/null +++ b/lang/php/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2019, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/lang/php/README.md b/lang/php/README.md new file mode 100644 index 0000000..989d197 --- /dev/null +++ b/lang/php/README.md @@ -0,0 +1,7 @@ +# PHP +Bastille template to bootstrap PHP + +## Usage +```shell +bastille template TARGET bastillebsd-templates/php +``` diff --git a/lang/python/README.md b/lang/python/README.md index dec61a7..797e45a 100644 --- a/lang/python/README.md +++ b/lang/python/README.md @@ -1,11 +1,6 @@ # Python Bastille template to bootstrap Python -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET lang/python diff --git a/lang/ruby/LICENSE b/lang/ruby/LICENSE new file mode 100644 index 0000000..f5cdce0 --- /dev/null +++ b/lang/ruby/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2019, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/lang/ruby/PKG b/lang/ruby/PKG new file mode 100644 index 0000000..6cec934 --- /dev/null +++ b/lang/ruby/PKG @@ -0,0 +1 @@ +ruby diff --git a/lang/ruby/README.md b/lang/ruby/README.md new file mode 100644 index 0000000..8b563f6 --- /dev/null +++ b/lang/ruby/README.md @@ -0,0 +1,10 @@ +## Status +[![pipeline status](https://gitlab.com/bastillebsd-templates/ruby/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/ruby/commits/master) + +## ruby +Bastille template to bootstrap ruby + +## Usage +```shell +bastille template TARGET bastillebsd-templates/ruby +``` diff --git a/lang/rust/README.md b/lang/rust/README.md index 6377679..eec1362 100644 --- a/lang/rust/README.md +++ b/lang/rust/README.md @@ -1,11 +1,6 @@ -## rust +# rust Bastille Template to bootstrap Rust -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET lang/rust diff --git a/mail/postfix/README.md b/mail/postfix/README.md index 8522cfe..fb605d4 100644 --- a/mail/postfix/README.md +++ b/mail/postfix/README.md @@ -1,11 +1,6 @@ ## postfix Bastille template to bootstrap postfix -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET mail/postfix diff --git a/misc/n8n/Bastillefile b/misc/n8n/Bastillefile new file mode 100644 index 0000000..d69e536 --- /dev/null +++ b/misc/n8n/Bastillefile @@ -0,0 +1,7 @@ +PKG npm +CMD mkdir /usr/local/etc/rc.d/ +CMD npm install pm2@latest -g +CMD npm install n8n@latest -g +CMD pm2 start n8n +CMD pm2 startup +CMD pm2 save diff --git a/misc/n8n/LICENSE b/misc/n8n/LICENSE new file mode 100644 index 0000000..bc94c3e --- /dev/null +++ b/misc/n8n/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2019-2022, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/misc/n8n/README.md b/misc/n8n/README.md new file mode 100644 index 0000000..84ed4cd --- /dev/null +++ b/misc/n8n/README.md @@ -0,0 +1,12 @@ +## Status +[![pipeline status](https://gitlab.com/bastillebsd-templates/n8n/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/n8n/commits/master) + + +## n8n +Bastille Template for a n8n + +## Usage + +```shell +ishmael ~ # bastille template TARGET bastillebsd-templates/n8n +``` diff --git a/misc/uptime-kuma/Bastillefile b/misc/uptime-kuma/Bastillefile new file mode 100644 index 0000000..ded258f --- /dev/null +++ b/misc/uptime-kuma/Bastillefile @@ -0,0 +1,11 @@ +ARG port=80 +ARG version="1.22.0" +PKG npm-node14 git-lite +CMD npm install pm2 -g +CMD pm2 install pm2-logrotate +CMD pm2 startup +CMD git clone -b "${version}" https://github.com/louislam/uptime-kuma.git +CMD cp -R uptime-kuma/ . +CMD npm run setup +CMD pm2 start server/server.js --name uptime-kuma -- --port="${port}" --host=0.0.0.0 +CMD pm2 save diff --git a/misc/uptime-kuma/LICENSE b/misc/uptime-kuma/LICENSE new file mode 100644 index 0000000..dcbb80e --- /dev/null +++ b/misc/uptime-kuma/LICENSE @@ -0,0 +1,30 @@ +BSD 3-Clause License + +Copyright (c) 2021, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/misc/uptime-kuma/README.md b/misc/uptime-kuma/README.md new file mode 100644 index 0000000..c3617fd --- /dev/null +++ b/misc/uptime-kuma/README.md @@ -0,0 +1,9 @@ + +## Uptime-Kuma +Bastille Template for [Uptime Kuma](https://github.com/louislam/uptime-kuma) a self-hosted monitoring tool + +## Usage +```shell +bastille template TARGET bastillebsd-templates/uptime-kuma +``` + diff --git a/multimedia/jellyfin/Bastillefile b/multimedia/jellyfin/Bastillefile new file mode 100644 index 0000000..3ba3be3 --- /dev/null +++ b/multimedia/jellyfin/Bastillefile @@ -0,0 +1,8 @@ +CMD mkdir -p /usr/local/etc/pkg/repos +CMD echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }' > /usr/local/etc/pkg/repos/FreeBSD.conf +CONFIG set allow.mlock=1; +CONFIG set ip6=inherit; +RESTART +PKG jellyfin +SYSRC jellyfin_enable=TRUE +SERVICE jellyfin start \ No newline at end of file diff --git a/multimedia/jellyfin/LICENSE b/multimedia/jellyfin/LICENSE new file mode 100644 index 0000000..0b83c4f --- /dev/null +++ b/multimedia/jellyfin/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2023, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/multimedia/jellyfin/LICENSE b/multimedia/jellyfin/LICENSE new file mode 100644 index 0000000..e883cb5 --- /dev/null +++ b/multimedia/jellyfin/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2021, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/multimedia/jellyfin/README.md b/multimedia/jellyfin/README.md new file mode 100644 index 0000000..135f0be --- /dev/null +++ b/multimedia/jellyfin/README.md @@ -0,0 +1,8 @@ + +## jellyfin +Bastille Template for Jellyfin + +## Usage +```shell +bastille template TARGET bastillebsd-templates/jellyfin +``` diff --git a/multimedia/plexmediaserver-plexpass/README.md b/multimedia/plexmediaserver-plexpass/README.md index e06bed7..4dee486 100644 --- a/multimedia/plexmediaserver-plexpass/README.md +++ b/multimedia/plexmediaserver-plexpass/README.md @@ -1,12 +1,6 @@ ## plexmediaserver-plexpass Bastille template for PlexMediaServer PlexPass -## Bootstrap - -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell diff --git a/multimedia/plexmediaserver/README.md b/multimedia/plexmediaserver/README.md index a24dd31..cfa2059 100644 --- a/multimedia/plexmediaserver/README.md +++ b/multimedia/plexmediaserver/README.md @@ -1,11 +1,6 @@ ## plexmediaserver Bastille Template for a Plex Server Jail -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET multimedia/plexmediaserver diff --git a/net-mgmt/prometheus/README.md b/net-mgmt/prometheus/README.md index e852221..1a1689d 100644 --- a/net-mgmt/prometheus/README.md +++ b/net-mgmt/prometheus/README.md @@ -1,11 +1,6 @@ ## prometheus Bastille Template to bootstrap Prometheus. -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET net-mgmt/prometheus diff --git a/net-mgmt/semaphore/Bastillefile b/net-mgmt/semaphore/Bastillefile new file mode 100644 index 0000000..f1b868e --- /dev/null +++ b/net-mgmt/semaphore/Bastillefile @@ -0,0 +1,21 @@ +ARG version="2.8.77" +ARG username="semaphore" +ARG password="SEmaPh0rE" +ARG email="semaphore@example.com" +ARG dbusername="semaphore_user" +ARG dbname="semaphore_db" +ARG dbpassword="SEmaPh0rE" +ARG rootpassdb="SEmaPh0rE" +ARG ipadd=$(ifconfig | grep 'inet' | awk -F ' ' '{ print $2 }') +PKG semaphore mysql80-server +CP usr / +CMD curl -L -O -C - https://github.com/ansible-semaphore/semaphore/releases/download/v"${version}"/semaphore_"${version}"_freebsd_amd64.tar.gz +CMD tar -zxvf semaphore_"${version}"_freebsd_amd64.tar.gz -C /usr/local/bin/ semaphore +CMD sed -i '' 's/"user": "",/"user": "${dbusername}",/g' /usr/local/etc/semaphore/config.json +CMD sed -i '' 's/"pass": "",/"pass": "${dbpassword}",/g' /usr/local/etc/semaphore/config.json +CMD sed -i '' 's/"name": "",/"name": "${dbname}",/g' /usr/local/etc/semaphore/config.json +SYSRC mysql_enable=YES +SERVICE mysql-server start +CMD mysql -u root -e "ALTER USER 'root'@'localhost' IDENTIFIED BY '"${rootpassdb}"';CREATE DATABASE "${dbname}";CREATE USER '"${dbusername}"'@'"${ipadd}"' IDENTIFIED WITH mysql_native_password BY '"${dbpassword}"';GRANT ALL ON "${dbname}".* TO '"${dbusername}"'@'"${ipadd}"';FLUSH PRIVILEGES;"; +CMD semaphore user add --admin --login "${username}" --name "${username}" --email "${email}" --password ${password} +CMD nohup semaphore server --config /usr/local/etc/semaphore/config.json & diff --git a/net-mgmt/semaphore/LICENSE b/net-mgmt/semaphore/LICENSE new file mode 100644 index 0000000..398fc58 --- /dev/null +++ b/net-mgmt/semaphore/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2022, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/net-mgmt/semaphore/README.md b/net-mgmt/semaphore/README.md new file mode 100644 index 0000000..abc4892 --- /dev/null +++ b/net-mgmt/semaphore/README.md @@ -0,0 +1,9 @@ + +## semaphore +Bastille Template for Semaphore + +## Usage + +```shell +ishmael ~ # bastille template TARGET bastillebsd-templates/semaphore +``` diff --git a/net-mgmt/semaphore/usr/local/etc/semaphore/config.json b/net-mgmt/semaphore/usr/local/etc/semaphore/config.json new file mode 100644 index 0000000..55e6883 --- /dev/null +++ b/net-mgmt/semaphore/usr/local/etc/semaphore/config.json @@ -0,0 +1,59 @@ +{ + "mysql": { + "host": "127.0.0.1:3306", + "user": "", + "pass": "", + "name": "", + "options": null + }, + "bolt": { + "host": "", + "user": "", + "pass": "", + "name": "", + "options": null + }, + "postgres": { + "host": "", + "user": "", + "pass": "", + "name": "", + "options": null + }, + "dialect": "mysql", + "port": "", + "interface": "", + "tmp_path": "/tmp/semaphore", + "cookie_hash": "", + "cookie_encryption": "", + "access_key_encryption": "", + "email_sender": "", + "email_host": "", + "email_port": "", + "email_username": "", + "email_password": "", + "web_host": "", + "ldap_binddn": "", + "ldap_bindpassword": "", + "ldap_server": "", + "ldap_searchdn": "", + "ldap_searchfilter": "", + "ldap_mappings": { + "dn": "", + "mail": "", + "uid": "", + "cn": "" + }, + "telegram_chat": "", + "telegram_token": "", + "slack_url": "", + "max_parallel_tasks": 0, + "email_alert": false, + "email_secure": false, + "telegram_alert": false, + "slack_alert": false, + "ldap_enable": false, + "ldap_needtls": false, + "ssh_config_path": "", + "demo_mode": false +} \ No newline at end of file diff --git a/net-mgmt/telegraf/README.md b/net-mgmt/telegraf/README.md index e80b7d4..e183646 100644 --- a/net-mgmt/telegraf/README.md +++ b/net-mgmt/telegraf/README.md @@ -1,11 +1,6 @@ ## telegraf Bastille Template to bootstrap Telegraf -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET net-mgmt/telegraf diff --git a/net-mgmt/unifi/Bastillefile b/net-mgmt/unifi/Bastillefile new file mode 100644 index 0000000..a4cd025 --- /dev/null +++ b/net-mgmt/unifi/Bastillefile @@ -0,0 +1,4 @@ +ARG version=7 +PKG unifi"${version}" +SYSRC unifi_enable="YES" +SERVICE unifi start diff --git a/net-mgmt/unifi/README.md b/net-mgmt/unifi/README.md new file mode 100644 index 0000000..e7e624b --- /dev/null +++ b/net-mgmt/unifi/README.md @@ -0,0 +1,7 @@ +# Unifi +Bastille template to bootstrap Unifi + +## Usage +```shell +bastille template TARGET bastillebsd-templates/unifi +``` diff --git a/net-mgmt/zabbix-agent/Bastillefile b/net-mgmt/zabbix-agent/Bastillefile new file mode 100644 index 0000000..d5b51d1 --- /dev/null +++ b/net-mgmt/zabbix-agent/Bastillefile @@ -0,0 +1,4 @@ +PKG zabbix54-agent +CMD cp /usr/local/etc/zabbix54/zabbix_agentd.conf.sample /usr/local/etc/zabbix54/zabbix_agentd.conf +SYSRC zabbix_agentd_enable=YES +SERVICE zabbix_agentd start diff --git a/net-mgmt/zabbix-agent/LICENSE b/net-mgmt/zabbix-agent/LICENSE new file mode 100644 index 0000000..0f33c9f --- /dev/null +++ b/net-mgmt/zabbix-agent/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2019-2021, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/net-mgmt/zabbix-agent/README.md b/net-mgmt/zabbix-agent/README.md new file mode 100644 index 0000000..1bf5cd3 --- /dev/null +++ b/net-mgmt/zabbix-agent/README.md @@ -0,0 +1,27 @@ +## Status +[![pipeline status](https://gitlab.com/bastillebsd-templates/zabbix-agent/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/zabbix-agent/commits/master) + +## Usage + +```shell +bastille template TARGET bastillebsd-templates/zabbix-agent +``` + +## Post Install Steps + +Once this is done running there are a couple of manual steps you have to do. First edit the file + + /usr/local/etc/zabbix5/zabbix_agentd.conf + +and edit the following lines with your server ip/hostname, and your client's hostname: + + Server=1.1.1.1 + ServerActive=1.1.1.1 + Hostname=hostname.domain.tld + +then restart the zabbix agent: + +```shell +bastille service TARGET zabbix-agentd restart +``` +and at this point you can add this client to your zabbix server. diff --git a/net-mgmt/zabbix-server/Bastillefile b/net-mgmt/zabbix-server/Bastillefile new file mode 100644 index 0000000..a270952 --- /dev/null +++ b/net-mgmt/zabbix-server/Bastillefile @@ -0,0 +1,25 @@ +INCLUDE bastillebsd-templates/nginx +INCLUDE bastillebsd-templates/mysql-server +PKG zabbix54-server zabbix54-frontend zabbix54-agent + +SYSRC zabbix_server_enable=YES +SYSRC zabbix_agentd_enable=YES +SYSRC nginx_enable=YES + +## Make the needed SCRIPTS directory +#CMD mkdir /usr/local/etc/zabbix5/scripts + +## Overlay to the system the scripts needed +#OVERLAY zfs-discovery.sh /usr/local/zabbix5/scripts +#OVERLAY zpool-discovery.sh /usr/local/zabbix5/scripts +#OVERLAY nginx.conf /usr/local/etc/nginx/nginx.conf + +# Set the correct owner for the scipts directory +#CMD chown -R zabbix /usr/lcoal/etc/zabbix5/scripts +#CMD chmod +x /usr/local/etc/zabbix5/scripts + +CMD cp /usr/local/etc/zabbix54/zabbix_agentd.conf.sample /usr/local/etc/zabbix54/zabbix_agentd.conf +CMD cp /usr/local/etc/zabbix54/zabbix_server.conf.sample /usr/local/etc/zabbix54/zabbix_server.conf + +SERVICE zabbix_agentd start +SERVICE zabbix_server start diff --git a/net-mgmt/zabbix-server/README.md b/net-mgmt/zabbix-server/README.md new file mode 100644 index 0000000..c077834 --- /dev/null +++ b/net-mgmt/zabbix-server/README.md @@ -0,0 +1,9 @@ + +## zabbix-server +Bastille template to bootstrap zabbix-server + +## Usage + +```shell +bastille template TARGET bastillebsd-templates/zabbix-server +``` diff --git a/net-p2p/bazarr/Bastillefile b/net-p2p/bazarr/Bastillefile new file mode 100644 index 0000000..5bcaa6e --- /dev/null +++ b/net-p2p/bazarr/Bastillefile @@ -0,0 +1,29 @@ +## Change ARG values for customizing +ARG user=bazarr +ARG group=bazarr +ARG data_dir=/usr/local/bazarr +ARG out_port=6767 + +## allow_raw_sockets is helpful for troubleshooting (e.g. ping, traceroute) but is not a requirement. +#CONFIG set allow.raw_sockets; + +################################################################# +###################### DO NOT EDIT ############################# +CONFIG set allow.mlock=1; +CONFIG set enforce_statfs=1 +RESTART +PKG bazarr +SYSRC bazarr_enable=YES +SYSRC bazarr_user="${user}" +SYSRC bazarr_group="${group}" +SYSRC bazarr_data_dir="${data_dir}" +SERVICE bazarr start +RDR tcp ${out_port} 6767 +################################################################# +################################################################# + +## The updater is disabled by default. The pkg-message gives instructions on how to enable the updater but keep in mind: this can break things like pkg check -s and pkg remove for bazarr when the built-in updater replaces files. If you like to use the updater in bazarr UI, remove (#) +#CMD rm /usr/local/share/bazarr/package_info +#CMD chown -R ${user}:${group} /usr/local/share/bazarr/bin + +SERVICE bazarr restart diff --git a/net-p2p/bazarr/LICENSE b/net-p2p/bazarr/LICENSE new file mode 100644 index 0000000..bd2efc7 --- /dev/null +++ b/net-p2p/bazarr/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2023, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE diff --git a/net-p2p/bazarr/README.md b/net-p2p/bazarr/README.md new file mode 100644 index 0000000..bf734ba --- /dev/null +++ b/net-p2p/bazarr/README.md @@ -0,0 +1,15 @@ +## Status + +[![pipeline status](https://gitlab.com/bastillebsd-templates/bazarr/badges/main/pipeline.svg)](https://gitlab.com/bastillebsd-templates/bazarr/commits/main) + +## Bazarr + +Bazarr is a companion application to Sonarr and Radarr that manages and downloads subtitles based on your requirements. + +## Usage + +```shell +bastille template TARGET bastillebsd-templates/bazarr +``` + +For more options edit `/usr/local/bastille/templates/bastillebsd-templates/bazarr/Bastillefile` diff --git a/net-p2p/lidarr/Bastillefile b/net-p2p/lidarr/Bastillefile new file mode 100644 index 0000000..aae520f --- /dev/null +++ b/net-p2p/lidarr/Bastillefile @@ -0,0 +1,29 @@ +## Change ARG values for customizing +ARG user=lidarr +ARG group=lidarr +ARG data_dir=/usr/local/lidarr +ARG out_port=8686 + +## allow_raw_sockets is helpful for troubleshooting (e.g. ping, traceroute) but is not a requirement. +#CONFIG set allow.raw_sockets; + +################################################################# +###################### DO NOT EDIT ############################# +CONFIG set allow.mlock=1; +CONFIG set enforce_statfs=1; +RESTART +PKG lidarr +SYSRC lidarr_enable=YES +SYSRC lidarr_user="${user}" +SYSRC lidarr_group="${group}" +SYSRC lidarr_data_dir="${data_dir}" +SERVICE lidarr start +RDR tcp ${out_port} 8686 +################################################################# +################################################################# + +## The updater is disabled by default. The pkg-message gives instructions on how to enable the updater but keep in mind: this can break things like pkg check -s and pkg remove for lidarr when the built-in updater replaces files. If you like to use the updater in lidarr UI, remove (#) +#CMD rm /usr/local/share/lidarr/package_info +#CMD chown -R ${user}:${group} /usr/local/share/lidarr/bin + +SERVICE lidarr restart diff --git a/net-p2p/lidarr/LICENSE b/net-p2p/lidarr/LICENSE new file mode 100644 index 0000000..6d8d27d --- /dev/null +++ b/net-p2p/lidarr/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2023, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE \ No newline at end of file diff --git a/net-p2p/lidarr/README.md b/net-p2p/lidarr/README.md new file mode 100644 index 0000000..a288ca6 --- /dev/null +++ b/net-p2p/lidarr/README.md @@ -0,0 +1,16 @@ +## Status + +[![pipeline status](https://gitlab.com/bastillebsd-templates/lidarr/badges/main/pipeline.svg)](https://gitlab.com/bastillebsd-templates/lidarr/commits/main) + +## Lidarr + +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 +to automatically upgrade the quality of files already downloaded when a better quality format becomes available. + +## Usage + +```shell +bastille template TARGET bastillebsd-templates/lidarr +``` + +For more options edit `/usr/local/bastille/templates/bastillebsd-templates/lidarr/Bastillefile` diff --git a/net-p2p/prowlarr/Bastillefile b/net-p2p/prowlarr/Bastillefile new file mode 100644 index 0000000..2447ea6 --- /dev/null +++ b/net-p2p/prowlarr/Bastillefile @@ -0,0 +1,29 @@ +## Change ARG values for customizing +ARG user=prowlarr +ARG group=prowlarr +ARG data_dir=/usr/local/prowlarr +ARG out_port=9696 + +## allow_raw_sockets is helpful for troubleshooting (e.g. ping, traceroute) but is not a requirement. +#CONFIG set allow.raw_sockets; + +################################################################# +###################### DO NOT EDIT ############################# +CONFIG set allow.mlock=1; # +CONFIG set ip6=inherit; # +RESTART # +PKG prowlarr # +SYSRC prowlarr_enable=YES # +SYSRC prowlarr_user="${user}" # +SYSRC prowlarr_group="${group}" # +SYSRC prowlarr_data_dir="${data_dir}" # +SERVICE prowlarr start # +RDR tcp ${out_port} 9696 # +################################################################# +################################################################# + +## The updater is disabled by default. The pkg-message gives instructions on how to enable the updater but keep in mind: this can break things like pkg check -s and pkg remove for prowlarr when the built-in updater replaces files. If you like to use the updater in Prowlarr UI, remove (#) +#CMD rm /usr/local/share/prowlarr/package_info +#CMD chown -R ${user}:${group} /usr/local/share/prowlarr/bin + +SERVICE prowlarr restart diff --git a/net-p2p/prowlarr/LICENSE b/net-p2p/prowlarr/LICENSE new file mode 100644 index 0000000..bd2efc7 --- /dev/null +++ b/net-p2p/prowlarr/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2023, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE diff --git a/net-p2p/prowlarr/README.md b/net-p2p/prowlarr/README.md new file mode 100644 index 0000000..fcd1e66 --- /dev/null +++ b/net-p2p/prowlarr/README.md @@ -0,0 +1,12 @@ +## Status +[![pipeline status](https://gitlab.com/bastillebsd-templates/prowlarr/badges/main/pipeline.svg)](https://gitlab.com/bastillebsd-templates/prowlarr/commits/main) + +## 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). + +## Usage +```shell +bastille template TARGET bastillebsd-templates/prowlarr +``` + +For more options edit `/usr/local/bastille/templates/bastillebsd-templates/Prowlarr/Bastillefile` diff --git a/net-p2p/radarr/Bastillefile b/net-p2p/radarr/Bastillefile new file mode 100644 index 0000000..ed18e0e --- /dev/null +++ b/net-p2p/radarr/Bastillefile @@ -0,0 +1,6 @@ +CONFIG set allow.mlock=1; +CONFIG set ip6=inherit; +RESTART +PKG radarr +SYSRC radarr_enable="YES" +SERVICE radarr start \ No newline at end of file diff --git a/net-p2p/radarr/LICENSE b/net-p2p/radarr/LICENSE new file mode 100644 index 0000000..0b83c4f --- /dev/null +++ b/net-p2p/radarr/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2023, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/net-p2p/radarr/README.md b/net-p2p/radarr/README.md new file mode 100644 index 0000000..0b40bdc --- /dev/null +++ b/net-p2p/radarr/README.md @@ -0,0 +1,11 @@ +## Status +[![pipeline status](https://gitlab.com/bastillebsd-templates/radarr/badges/main/pipeline.svg)](https://gitlab.com/bastillebsd-templates/radarr/commits/main) + +## Radarr +Bastille Template for Radarr + +## Usage +```shell +bastille template TARGET bastillebsd-templates/radarr +``` + diff --git a/net-p2p/sonarr/Bastillefile b/net-p2p/sonarr/Bastillefile new file mode 100644 index 0000000..883f31c --- /dev/null +++ b/net-p2p/sonarr/Bastillefile @@ -0,0 +1,6 @@ +CONFIG set allow.mlock=1; +CONFIG set ip6=inherit; +RESTART +PKG sonarr +SYSRC sonarr_enable="YES" +SERVICE sonarr start \ No newline at end of file diff --git a/net-p2p/sonarr/LICENSE b/net-p2p/sonarr/LICENSE new file mode 100644 index 0000000..0b83c4f --- /dev/null +++ b/net-p2p/sonarr/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2023, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/net-p2p/sonarr/README.md b/net-p2p/sonarr/README.md new file mode 100644 index 0000000..92e01fb --- /dev/null +++ b/net-p2p/sonarr/README.md @@ -0,0 +1,8 @@ + +## sonarr +Bastille Template for Sonarr + +## Usage +```shell +bastille template TARGET bastillebsd-templates/sonarr +``` diff --git a/net/asterisk/README.md b/net/asterisk/README.md index 1437ec5..3f37e36 100644 --- a/net/asterisk/README.md +++ b/net/asterisk/README.md @@ -1,11 +1,6 @@ ## asterisk Bastille template to boostrap asterisk -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET net/asterisk diff --git a/security/openssh-server/README.md b/security/openssh-server/README.md index 441885a..fa0864f 100644 --- a/security/openssh-server/README.md +++ b/security/openssh-server/README.md @@ -1,11 +1,6 @@ # openssh-server Bastille template to bootstrap openssh-server -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET security/openssh-server diff --git a/security/vault/README.md b/security/vault/README.md index ce83b71..dae46be 100644 --- a/security/vault/README.md +++ b/security/vault/README.md @@ -1,11 +1,6 @@ # Vault Bastille template for Hashicorp Vault -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET security/vault diff --git a/shells/zsh-antigen/README.md b/shells/zsh-antigen/README.md index 42857f1..ebc3adb 100644 --- a/shells/zsh-antigen/README.md +++ b/shells/zsh-antigen/README.md @@ -1,11 +1,6 @@ ## zsh-antigen Bastille Template to setup zsh-antigen -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET shells/zsh-antigen diff --git a/sysutils/consul/README.md b/sysutils/consul/README.md index e926a5d..017064d 100644 --- a/sysutils/consul/README.md +++ b/sysutils/consul/README.md @@ -1,11 +1,6 @@ # consul Bastille template to bootstrap consul -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET sysutils/consul diff --git a/sysutils/salt-master/README.md b/sysutils/salt-master/README.md index 996eeb1..5ec2070 100644 --- a/sysutils/salt-master/README.md +++ b/sysutils/salt-master/README.md @@ -1,11 +1,6 @@ # salt-master Bastille template to bootstrap Salt Master -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET sysutils/salt-master diff --git a/sysutils/salt-minion/README.md b/sysutils/salt-minion/README.md index 3931ed6..31805d9 100644 --- a/sysutils/salt-minion/README.md +++ b/sysutils/salt-minion/README.md @@ -1,11 +1,6 @@ # salt-minion Bastille template to bootstrap Salt Minion -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell ishmael ~ # bastille template TARGET sysutils/salt-minion diff --git a/sysutils/syslog-ng/README.md b/sysutils/syslog-ng/README.md index 77459d6..1dfb7a6 100644 --- a/sysutils/syslog-ng/README.md +++ b/sysutils/syslog-ng/README.md @@ -1,12 +1,6 @@ ## syslog-ng Bastille template to bootstrap syslog-ng -## Bootstrap - -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET sysutils/syslog-ng diff --git a/sysutils/tarsnap/README.md b/sysutils/tarsnap/README.md index 9388b5e..24bea29 100644 --- a/sysutils/tarsnap/README.md +++ b/sysutils/tarsnap/README.md @@ -1,11 +1,6 @@ # Tarsnap Bastille template for Tarsnap -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd-templates/tarsnap -``` - ## Usage ```shell bastille template TARGET sysutils/tarsnap diff --git a/textproc/elasticsearch/README.md b/textproc/elasticsearch/README.md index 07eca15..5dc1219 100644 --- a/textproc/elasticsearch/README.md +++ b/textproc/elasticsearch/README.md @@ -1,11 +1,6 @@ # elasticsearch Bastille template to bootstrap Elasticserch 7 -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET textproc/elasticsearch7 diff --git a/textproc/kibana/README.md b/textproc/kibana/README.md index 32da8b6..6589936 100644 --- a/textproc/kibana/README.md +++ b/textproc/kibana/README.md @@ -1,11 +1,6 @@ ## kibana Bastille template to bootstrap kibana 7 -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET textproc/kibana7 diff --git a/www/adguardhome-exporter/.gitlab-ci.yml b/www/adguardhome-exporter/.gitlab-ci.yml new file mode 100644 index 0000000..8230276 --- /dev/null +++ b/www/adguardhome-exporter/.gitlab-ci.yml @@ -0,0 +1,18 @@ +bastille_template_test: + tags: + - bastille-template + - bastillebsd-template + script: + - doas bastille version + - doas bastille bootstrap "${CI_PROJECT_URL}" + - doas bastille create 122-jail 12.2-RELEASE 10.17.89.122 + - doas bastille create 130-jail 13.0-RELEASE 10.17.89.130 + - doas bastille template ALL "${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}" + - doas bastille cmd ALL freebsd-version + - doas bastille sysrc ALL -ae + - doas bastille cmd ALL ps -auxw + - doas bastille cmd ALL sockstat -4 + - doas bastille pkg ALL audit -F + - doas bastille stop ALL + - doas bastille destroy 122-jail + - doas bastille destroy 130-jail diff --git a/www/adguardhome-exporter/Bastillefile b/www/adguardhome-exporter/Bastillefile new file mode 100644 index 0000000..91d1109 --- /dev/null +++ b/www/adguardhome-exporter/Bastillefile @@ -0,0 +1,8 @@ +PKG adguard-exporter +SYSRC adguard_exporter_enable=YES +SYSRC adguard_exporter_username=adguard +SYSRC adguard_exporter_password=BastilleBSD! +SYSRC adguard_exporter_hostname=${JAIL_IP} +SYSRC adguard_exporter_port=80 +SYSRC adguard_exporter_protocol=http +SERVICE adguard_exporter restart diff --git a/www/adguardhome-exporter/LICENSE b/www/adguardhome-exporter/LICENSE new file mode 100644 index 0000000..e883cb5 --- /dev/null +++ b/www/adguardhome-exporter/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2021, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/www/adguardhome-exporter/README.md b/www/adguardhome-exporter/README.md new file mode 100644 index 0000000..6727caf --- /dev/null +++ b/www/adguardhome-exporter/README.md @@ -0,0 +1,8 @@ + +## adguardhome-exporter +Bastille Template for Adguard Home Prometheus Exporter + +## Usage +```shell +bastille template TARGET bastillebsd-templates/adguardhome-exporter +``` diff --git a/www/adguardhome/README.md b/www/adguardhome/README.md index 482d7db..c8623e3 100644 --- a/www/adguardhome/README.md +++ b/www/adguardhome/README.md @@ -1,11 +1,6 @@ ## adguardhome Bastille Template for Adguard Home -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET dns/adguardhome diff --git a/www/apache/README.md b/www/apache/README.md index 6aa6b72..5d6d391 100644 --- a/www/apache/README.md +++ b/www/apache/README.md @@ -1,11 +1,6 @@ ## apache Bastille template to bootstrap Apache -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/apache diff --git a/www/caddy/README.md b/www/caddy/README.md index 7cea38a..47f686f 100644 --- a/www/caddy/README.md +++ b/www/caddy/README.md @@ -1,11 +1,6 @@ ## Caddy Bastille template to bootstrap Caddy -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/caddy diff --git a/www/firefox/README.md b/www/firefox/README.md index 05b7370..466ebac 100644 --- a/www/firefox/README.md +++ b/www/firefox/README.md @@ -1,11 +1,6 @@ -# Firefox +## Firefox Bastille template to bootstrap Firefox -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/firefox diff --git a/www/gitea/README.md b/www/gitea/README.md index eb1c88d..f0944c0 100644 --- a/www/gitea/README.md +++ b/www/gitea/README.md @@ -1,11 +1,6 @@ ## gitea Bastille template to bootstrap gitea -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/gitea --arg SECRET_KEY=`openssl rand -base64 16` --arg JWT_SECRET=`openssl rand -base64 32` --arg INTERNAL_TOKEN=`openssl rand -base64 64` diff --git a/www/gitlab-ce/Bastillefile b/www/gitlab-ce/Bastillefile new file mode 100644 index 0000000..2dac8c4 --- /dev/null +++ b/www/gitlab-ce/Bastillefile @@ -0,0 +1,3 @@ +PKG gitlab-ce +SYSRC gitlab_enable=YES +SERVICE gitlab start diff --git a/www/gitlab-ce/LICENSE b/www/gitlab-ce/LICENSE new file mode 100644 index 0000000..f5cdce0 --- /dev/null +++ b/www/gitlab-ce/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2019, Christer Edwards +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/www/gitlab-ce/PKG b/www/gitlab-ce/PKG new file mode 100644 index 0000000..a35d799 --- /dev/null +++ b/www/gitlab-ce/PKG @@ -0,0 +1 @@ +gitlab-ce diff --git a/www/gitlab-ce/README.md b/www/gitlab-ce/README.md new file mode 100644 index 0000000..d4a54b1 --- /dev/null +++ b/www/gitlab-ce/README.md @@ -0,0 +1,7 @@ +# GitLab CE +Bastille template to bootstrap GitLab CE + +## Usage +```shell +bastille template TARGET bastillebsd-templates/gitlab-ce +``` diff --git a/www/gitlab-ce/SERVICE b/www/gitlab-ce/SERVICE new file mode 100644 index 0000000..11103db --- /dev/null +++ b/www/gitlab-ce/SERVICE @@ -0,0 +1 @@ +gitlab start diff --git a/www/gitlab-ce/SYSRC b/www/gitlab-ce/SYSRC new file mode 100644 index 0000000..18e727d --- /dev/null +++ b/www/gitlab-ce/SYSRC @@ -0,0 +1 @@ +gitlab_enable=YES diff --git a/www/grafana/README.md b/www/grafana/README.md index 6a416c4..47076a1 100644 --- a/www/grafana/README.md +++ b/www/grafana/README.md @@ -1,11 +1,6 @@ # Grafana Bastille template for Grafana -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd-templates/grafana -``` - ## Usage ```shell bastille template TARGET www/grafana diff --git a/www/guacamole/README.md b/www/guacamole/README.md index a6e14db..edc48ad 100644 --- a/www/guacamole/README.md +++ b/www/guacamole/README.md @@ -1,11 +1,6 @@ # Guacamole Bastille template to bootstrap Guacamole -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/guacamole diff --git a/www/haproxy/README.md b/www/haproxy/README.md index d0323ed..6129b9f 100644 --- a/www/haproxy/README.md +++ b/www/haproxy/README.md @@ -1,11 +1,6 @@ ## haproxy Bastille template to bootstrap HAProxy -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/haproxy diff --git a/www/nextcloud/README.md b/www/nextcloud/README.md index 1dc9be5..40fb097 100644 --- a/www/nextcloud/README.md +++ b/www/nextcloud/README.md @@ -1,11 +1,6 @@ ## nextcloud Bastille template to bootstrap Nextcloud -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/nextcloud diff --git a/www/nginx-poudriere-pkg-conf/README.md b/www/nginx-poudriere-pkg-conf/README.md index 5e61584..5d1621d 100644 --- a/www/nginx-poudriere-pkg-conf/README.md +++ b/www/nginx-poudriere-pkg-conf/README.md @@ -1,11 +1,6 @@ ## nginx-poudriere-pkg-conf Bastille Template: nginx-poudriere-pkg-conf -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/nginx-poudriere-pkg-conf diff --git a/www/nginx-poudriere/README.md b/www/nginx-poudriere/README.md index 01cfeea..1e34699 100644 --- a/www/nginx-poudriere/README.md +++ b/www/nginx-poudriere/README.md @@ -1,11 +1,6 @@ ## nginx-poudriere Bastille template to bootstrap nginx for poudriere -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/nginx-poudriere diff --git a/www/nginx/README.md b/www/nginx/README.md index 6bde1eb..59fd93b 100644 --- a/www/nginx/README.md +++ b/www/nginx/README.md @@ -1,11 +1,6 @@ ## nginx Bastille template to bootstrap nginx -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/nginx diff --git a/www/node/README.md b/www/node/README.md index 6f09a10..f2f0685 100644 --- a/www/node/README.md +++ b/www/node/README.md @@ -1,11 +1,6 @@ ## node Bastille Template to bootstrap node (and npm) -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/node diff --git a/www/npm/README.md b/www/npm/README.md index 4381311..11e1f0b 100644 --- a/www/npm/README.md +++ b/www/npm/README.md @@ -1,11 +1,6 @@ # NPM Bastille template to bootstrap NPM -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/npm diff --git a/www/traefik/README.md b/www/traefik/README.md index 1b78262..fe3cd82 100644 --- a/www/traefik/README.md +++ b/www/traefik/README.md @@ -1,11 +1,6 @@ ## traefik Bastille template to bootstrap traefik -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/traefik diff --git a/www/varnish/README.md b/www/varnish/README.md index 4613ccd..2ab510e 100644 --- a/www/varnish/README.md +++ b/www/varnish/README.md @@ -1,11 +1,6 @@ # Varnish Bastille template to bootstrap Varnish -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/varnish diff --git a/www/wordpress/README.md b/www/wordpress/README.md index b3c0783..0ce130d 100644 --- a/www/wordpress/README.md +++ b/www/wordpress/README.md @@ -1,11 +1,6 @@ # wordpress Bastille template to bootstrap Wordpress -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/wordpress diff --git a/www/yarn/README.md b/www/yarn/README.md index e950e09..7cb84d0 100644 --- a/www/yarn/README.md +++ b/www/yarn/README.md @@ -1,11 +1,6 @@ # Yarn Bastille template to bootstrap Yarn -## Bootstrap -```shell -bastille bootstrap https://github.com/bastillebsd/templates -``` - ## Usage ```shell bastille template TARGET www/yarn