standardizing templates to Bastillefile syntax & cleanup

This commit is contained in:
Christer Edwards
2021-12-24 21:47:04 -07:00
parent ed664ae8e9
commit ef70687808
217 changed files with 218 additions and 1917 deletions

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2021, Christer Edwards <christer.edwards@gmail.com>
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.

View File

@@ -1,15 +1,12 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/adguardhome/badges/main/pipeline.svg)](https://gitlab.com/bastillebsd-templates/adguardhome/commits/main)
## adguardhome
Bastille Template for Adguard Home
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/adguardhome
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/adguardhome
bastille template TARGET dns/adguardhome
```

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2019-2021, Christer Edwards <christer.edwards@gmail.com>
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.

View File

@@ -1,17 +1,12 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/apache/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/apache/commits/master)
## apache
Bastille template to bootstrap Apache
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/apache
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/apache
bastille template TARGET www/apache
```

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2021, Christer Edwards <christer.edwards@gmail.com>
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.

View File

@@ -1,15 +1,12 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/caddy/badges/main/pipeline.svg)](https://gitlab.com/bastillebsd-templates/caddy/commits/main)
## Caddy
Bastille template to bootstrap Caddy
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/caddy
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/caddy
bastille template TARGET www/caddy
```

1
www/firefox/Bastillefile Normal file
View File

@@ -0,0 +1 @@
PKG firefox

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2019-2021, Christer Edwards <christer.edwards@gmail.com>
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.

View File

@@ -1 +0,0 @@
firefox

View File

@@ -1,18 +1,12 @@
# Firefox
Bastille template to bootstrap Firefox
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/firefox/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/firefox/commits/master)
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/firefox
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/firefox
bastille template TARGET www/firefox
```
Connect to this container using `ssh -X container 'firefox'` to launch the
browser.

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2018-2021, Christer Edwards <christer.edwards@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* 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.
* 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.

View File

@@ -1,13 +1,9 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/gitea/badges/devel/pipeline.svg)](https://gitlab.com/bastillebsd-templates/gitea/commits/devel)
## gitea
Bastille template to bootstrap gitea
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/gitea
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2019-2021, Christer Edwards <christer.edwards@gmail.com>
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.

View File

@@ -1,14 +1,12 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/grafana/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/grafana/commits/master)
# Grafana
Bastille template for Grafana
## Bootstrap
```shell
bastille bootstrap https://github.com/bastillebsd-templates/grafana
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/grafana
```

View File

@@ -1,15 +1,12 @@
# Guacamole
Bastille template to bootstrap Guacamole
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/guacamole/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/guacamole/commits/master)
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/guacamole
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/guacamole
bastille template TARGET www/guacamole
```

4
www/haproxy/Bastillefile Normal file
View File

@@ -0,0 +1,4 @@
PKG haproxy
SYSRC haproxy_enable=YES
SERVICE haproxy start
CMD haproxy -t

View File

@@ -1 +0,0 @@
haproxy -t

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2019-2021, Christer Edwards <christer.edwards@gmail.com>
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.

View File

@@ -1 +0,0 @@
haproxy

View File

@@ -1,15 +1,12 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/haproxy/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/haproxy/commits/master)
## haproxy
Bastille template to bootstrap HAProxy
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/haproxy
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/haproxy
bastille template TARGET www/haproxy
```

View File

@@ -1 +0,0 @@
haproxy start

View File

@@ -1 +0,0 @@
haproxy_enable=YES

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2021, Christer Edwards <christer.edwards@gmail.com>
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.

View File

@@ -1,17 +1,12 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/nextcloud/badges/main/pipeline.svg)](https://gitlab.com/bastillebsd-templates/nextcloud/commits/main)
## nextcloud
Bastille template to bootstrap Nextcloud
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/nextcloud
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/nextcloud
```

View File

@@ -0,0 +1 @@
CP usr /

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2018-2021, Christer Edwards <christer.edwards@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* 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.
* 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.

View File

@@ -1 +0,0 @@
usr

View File

@@ -1,20 +1,20 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/nginx-poudriere-pkg-conf/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/nginx-poudriere-pkg-conf/commits/master)
## nginx-poudriere-pkg-conf
Bastille Template: nginx-poudriere-pkg-conf
Fetch and apply this template with:
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/BastilleBSD-Templates/nginx-poudriere-pkg-conf
bastille template TARGET BastilleBSD-Templates/nginx-poudriere-pkg-conf
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET www/nginx-poudriere-pkg-conf
```
## Description
This template adds a `poudriere-local.conf` to the container's configured
repository. This is meant to be used with
https://gitlab.com/bastillebsd-templates/nginx-poudriere
https://github.com/bastillebsd/templates/nginx-poudriere
Note: update the `10.17.89.80` example IP address with the address of your pkg
container.

View File

@@ -2,6 +2,6 @@ CMD mkdir -p /usr/local/share/poudriere
CMD mkdir -p /usr/local/poudriere/data
MOUNT /usr/local/share/poudriere usr/local/share/poudriere nullfs ro 0 0
MOUNT /usr/local/poudriere/data usr/local/poudriere/data nullfs ro 0 0
INCLUDE https://gitlab.com/bastillebsd-templates/nginx
INCLUDE www/nginx
CP usr /
SERVICE nginx restart

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2018-2021, Christer Edwards <christer.edwards@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* 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.
* 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.

View File

@@ -1,27 +1,12 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/nginx-poudriere/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/nginx-poudriere/commits/master)
## nginx-poudriere
Bastille template to bootstrap nginx for poudriere
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/nginx-poudriere
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/nginx-poudriere
bastille template TARGET www/nginx-poudriere
```
## Notes
The `nginx.conf` OVERLAY assumes a poudriere naming scheme of
"majorversionarch" (ie "12amd64", "13aarch64", etc) and a "default" ports
tree.
Example: FreeBSD:12:amd64 will be served from 12amd64-default poudriere
repository, FreeBSD:13:aarch64 from 13aarch64-default, etc.
See: https://gitlab.com/bastillebsd-templates/nginx-poudriere-pkg-conf for client
repo config.

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2019-2021, Christer Edwards <christer.edwards@gmail.com>
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.

View File

@@ -1,18 +1,13 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/nginx/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/nginx/commits/master)
## nginx
Bastille template to bootstrap nginx
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/nginx
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/nginx
bastille template TARGET www/nginx
```

1
www/node/Bastillefile Normal file
View File

@@ -0,0 +1 @@
PKG node npm

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2019-2021, Christer Edwards <christer.edwards@gmail.com>
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.

View File

@@ -1,2 +0,0 @@
node
npm

View File

@@ -1,15 +1,12 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/node/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/node/commits/master)
## node
Bastille Template to bootstrap node (and npm)
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/node
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/node
bastille template TARGET www/node
```

1
www/npm/Bastillefile Normal file
View File

@@ -0,0 +1 @@
PKG npm

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2019-2021, Christer Edwards <christer.edwards@gmail.com>
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.

View File

@@ -1 +0,0 @@
npm

View File

@@ -1,15 +1,12 @@
# NPM
Bastille template to bootstrap NPM
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/npm/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/npm/commits/master)
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/npm
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/npm
bastille template TARGET www/npm
```

3
www/traefik/Bastillefile Normal file
View File

@@ -0,0 +1,3 @@
PKG traefik
SYSRC traefik_enable=YES
SERVICE traefik start

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2019-2021, Christer Edwards <christer.edwards@gmail.com>
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.

View File

@@ -1 +0,0 @@
traefik

View File

@@ -1,18 +1,13 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/traefik/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/traefik/commits/master)
## traefik
Bastille template to bootstrap traefik
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/traefik
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/traefik
bastille template TARGET www/traefik
```

View File

@@ -1 +0,0 @@
traefik start

View File

@@ -1 +0,0 @@
traefik_enable=YES

3
www/varnish/Bastillefile Normal file
View File

@@ -0,0 +1,3 @@
PKG varnish6
SYSRC varnishd_enable=YES
SERVICE varnishd start

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2019-2021, Christer Edwards <christer.edwards@gmail.com>
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.

View File

@@ -1 +0,0 @@
varnish6

View File

@@ -1,15 +1,12 @@
# Varnish
Bastille template to bootstrap Varnish
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/varnish/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/varnish/commits/master)
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/varnish
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/varnish
bastille template TARGET www/varnish
```

View File

@@ -1 +0,0 @@
varnishd start

View File

@@ -1 +0,0 @@
varnishd_enable=YES

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2019-2021, Christer Edwards <christer.edwards@gmail.com>
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.

View File

@@ -1,15 +1,12 @@
## Deployment Test Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/wordpress/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/wordpress/commits/master)
# wordpress
Bastille template to bootstrap Wordpress
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/wordpress
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/wordpress
bastille template TARGET www/wordpress
```

1
www/yarn/Bastillefile Normal file
View File

@@ -0,0 +1 @@
PKG yarn

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2019-2021, Christer Edwards <christer.edwards@gmail.com>
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.

View File

@@ -1 +0,0 @@
yarn

View File

@@ -1,15 +1,12 @@
# Yarn
Bastille template to bootstrap Yarn
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/yarn/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/yarn/commits/master)
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/yarn
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/yarn
bastille template TARGET www/yarn
```