CBSD jail marketplace

What are CBSD templates? These are scripts/scenarios/playbook for configuring various services in a container. Also CBSD jail templates are part of ClonOS project.

To improve the quality, each CBSD template goes through a periodic (usually once a week) Continuous integration cycle on the test cluster with various unit/regression tests.

The result of the CI check is the generation of an image with a workable service. Therefore, you can either use a template to build the container yourself OR use a ready-made image from the CBSD repository, e.g. via CBSDfile.

Templates in CBSD are divided into static (classic) and managed (dynamic). In the second case, the service is controlled by the playbook, and you can always reconfigure the service while it is running. To work with managed services, you must first install and activate the 'puppet' module (done once per host):

Management templates give you a lot more power than static templates and can be integrated with SCM (e.g. git) for IaC.

Besides that (and unlike static templates), you can apply managed templates to existing containers, e.g.: 'cbsd forms module=redis jname=yourjail1' (no need to get the image: just install module)

The main mission of the CBSD project: transfer all templates into the 'management' category, because in this case, the work is not tied to a specific container management system (e.g.: CBSD) and it plays a big role in supporting the FreeBSD system as a whole from the software management system (Puppet, SaltStack, Ansible, Chef, ReX ..).

Read more:

Important: this work and CI/build infrastructure sponsored by the community! Please support us

clickhouse


Available for FreeBSD version:

verpackagesizeupdated
13.122.13.1.1.88 Mb20 days ago
13.222.13.1.1.88 Mb0 days ago
14.023.4.1.1.90 Mb1 days ago

ClickHouse is an open-source column-oriented database management 
system that allows generating analytical data reports in real time. 

This image/build for CBSD project, it's not official FreeBSD Clickhouse build. 

If you are looking for an official Clickhouse FreeBSD build, please use link: 

https://clickhouse.com/docs/en/install/#from-binaries-non-linux 
		

cbsd repo action=get sources=img name=clickhouse usehelpers=1 runasap=1

# Example of using the marketplace of CBSD jail images

jail_clickhouse()
{
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"
	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

gitlab


Available for FreeBSD version:

verpackagesizeupdated
12.415.10.3_31 Gb33 days ago
13.115.11.3_21 Gb20 days ago
13.215.11.3_21 Gb20 days ago
14.015.10.3_31 Gb34 days ago

GitLab (Community Edition) - A complete DevOps platform 

WWW: https://gitlab.com/

		

cbsd repo action=get sources=img name=gitlab usehelpers=1 runasap=1

# Example of using the marketplace of CBSD jail images

# default password
GITLAB_ROOT_PASSWORD="yourpassword"

jail_gitlab()
{
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"
	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

postcreate_gitlab()
{
	local _ip

	_ip=$( jget jname=${jname} mode=quiet ip4_addr )

	# show postmessage
	cat <<EOF
	GitLab URL          : http://${_ip}
	GitLab root login   : root
	GitLab root passowrd: "${GITLAB_ROOT_PASSWORD}"
EOF
}

jupyterlab


Available for FreeBSD version:

verpackagesizeupdated
12.44.0.0232 Mb20 days ago
13.14.0.0235 Mb20 days ago
13.24.0.2235 Mb0 days ago
14.04.0.1233 Mb1 days ago

JupyterLab is an extensible environment for interactive and reproducible 
computing, based on the Jupyter Notebook and Architecture. 

JupyterLab is the next-generation user interface for Project Jupyter offering 
all the familiar building blocks of the classic Jupyter Notebook (notebook, 
terminal, text editor, file browser, rich outputs, etc.) in a flexible and 
powerful user interface. JupyterLab will eventually replace the classic Jupyter 
Notebook. 

The current JupyterLab releases are suitable for general usage, and the 
extension APIs will continue to evolve for JupyterLab extension developers. 

See also: https://github.com/jupyterlab/jupyterlab 
		

cbsd repo action=get sources=img name=jupyterlab usehelpers=1 runasap=1

# Example of using the marketplace of CBSD jail images

# to overwrite JUPYTERLAB FQDN servername from env/args:
#  env H_JUPYTERLAB_FQDN=my.example.ru cbsd up
[ -z "${H_JUPYTERLAB_FQDN}" ] && H_JUPYTERLAB_FQDN="jupyterlab.mydomain.com"
#
H_SSLCOUNTRY=""
#
H_SSLSTATE=""
#
H_SSLLOCATION=""
# set your email here, used in SSL cert/certbot
# to overwrite H_SSLMAIL from env/args:
# env H_SSLMAIL="your_mail@mydomain.com H_JUPYTERLAB_FQDN="jupyterlab.mydomain.com" cbsd up
[ -z "${H_SSLMAIL}" ] && H_SSLMAIL=""

jail_jupyterlab()
{
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"
	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

postcreate_jupyterlab()
{
	local _ip

	_ip=$( jget jname=${jname} mode=quiet ip4_addr )

	# regenerate SSL cert for custom domain
	jexec <<EOF
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
set -o errexit
su - jupyter -c "openssl req -x509 -nodes -days 365 -newkey rsa:2048  -subj '/C=${H_SSLCOUNTRY}/ST=${H_SSLSTATE}/L=${H_SSLLOCATION}/CN=${H_JUPYTERLAB_FQDN}/emailAddress=${H_SSLMAIL}' -keyout /home/jupyter/mykey.key -out /home/jupyter/mycert.pem"
EOF

	# show postmessage
	cat <<EOF
	${jname} url          : https://${_ip}:8888/lab
	${jname} default pass : jupyter
EOF
}

matomo #MANAGED


Available for FreeBSD version:

verpackagesizeupdated
12.44.13.3229 Mb20 days ago
13.14.13.3231 Mb20 days ago
13.24.13.3231 Mb0 days ago
14.04.13.3237 Mb1 days ago


Matomo is a downloadable, open source (GPL licensed) web analytics 
software package. It provides detailed reports on your website and 
its visitors, including the search engines and keywords they used, 
the language they speak, which pages they like, the files they 
download, and so much more. 

Matomo aims to be an open source alternative to Google Analytics. 
WWW: https://matomo.org/ 

		

cbsd module mode=install forms-matomo

cbsd repo action=get sources=img name=matomo usehelpers=1 runasap=1

cbsd forms module=matomo jname=jail1 [inter=0]

H_BIND_ADDRESS
H_DB_MATOMO_PASSWORD
H_EXPIRE_LOGS_DAYS
H_FPM_MAX_CHILDREN
H_KEY_BUFFER_SIZE
H_MAX_ALLOWED_PACKET
H_MAX_BINLOG_SIZE
H_MAX_CONNECTIONS
H_MYSQL_VER
H_NGINX_IPV6_ENABLE
H_NGINX_WORKER_PROCESSES
H_PHP_MAX_EXECUTION_TIME
H_PHP_MAX_INPUT_TIME
H_PHP_MEMORY_LIMIT
H_PHP_OPCACHE_MEMORY_CONSUMPTION
H_PHP_POST_MAX_SIZE
H_PHP_UPLOAD_MAX_FILESIZE
H_PORT
H_SOCKET
H_SORT_BUFFER_SIZE
H_THREAD_CACHE_SIZE
H_THREAD_STACK
H_TIMEZONE

# Example of using the marketplace of CBSD jail images
jail_matomo()
{
	forms="matomo"

	# Use remote image. You can comment this line to build the image locally.
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"

	# to overwrite default settings, see 'cbsd forms module=matomo vars' for full list
	# use 'cbsd forms' to re-configure settings in runtime.
	# export H_TIMEZONE=UTC H_DB_MATOMO_PASSWORD=newdbpassword H_PHP_MEMORY_LIMIT=1g ..
	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

# Ensure we have forms-matomo module
preup_matomo()
{
	# forms-based module, install it first
	module mode=install forms-matomo
}

postcreate_matomo()
{
	local _ip

	_ip=$( jget jname=${jname} mode=quiet ip4_addr )

	# show postmessage
	cat <<EOF
	${jname} URL          : http://${_ip}

	Default settings for 'Database Setup' action:

	  Database Server: 127.0.0.1
	  Login: matomo
	  Password: matomopass
	  Database Name: matomo

EOF
}

memcached #MANAGED


Available for FreeBSD version:

verpackagesizeupdated
12.41.6.1443 Mb20 days ago
13.11.6.2044 Mb20 days ago
13.21.6.2044 Mb0 days ago
14.01.6.2044 Mb1 days ago


memcached is a high-performance, distributed memory object caching 
system, generic in nature, but intended for use in speeding up dynamic 
web applications by alleviating database load. 

		

cbsd module mode=install forms-memcached

cbsd repo action=get sources=img name=memcached usehelpers=1 runasap=1

cbsd forms module=memcached jname=jail1 [inter=0]

H_MAX_CONNECTIONS
H_TCP_PORT
H_UDP_PORT
H_USE_SASL

# Example of using the marketplace of CBSD jail images
jail_memcached()
{
	forms="memcached"

	# Use remote image. You can comment this line to build the image locally.
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"

	# to overwrite default settings, see 'cbsd forms module=memcached vars' for full list
	# use 'cbsd forms' to re-configure settings in runtime.
	# export H_MAX_CONNECTIONS=1024 H_TCP_PORT=1234 ..

	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

# Ensure we have forms-memcached module
preup_memcached()
{
	# forms-based module, install it first
	module mode=install forms-memcached
}

mysql #MANAGED


Available for FreeBSD version:

verpackagesizeupdated
12.48.0.32_3166 Mb20 days ago
13.18.0.32_3168 Mb20 days ago
13.28.0.32_3168 Mb0 days ago
14.08.0.32_3174 Mb1 days ago


mysql is a multithreaded SQL database. 

		

cbsd module mode=install forms-mysql

cbsd repo action=get sources=img name=mysql usehelpers=1 runasap=1

cbsd forms module=mysql jname=jail1 [inter=0]

H_BIND_ADDRESS
H_DATABASES
H_EXPIRE_LOGS_DAYS
H_KEY_BUFFER_SIZE
H_MAX_ALLOWED_PACKET
H_MAX_BINLOG_SIZE
H_MAX_CONNECTIONS
H_MYSQL_VER
H_PORT
H_SKIP_NETWORKING
H_SOCKET
H_SORT_BUFFER_SIZE
H_THREAD_CACHE_SIZE
H_THREAD_STACK

# Example of using the marketplace of CBSD jail images
# grep MYSQL_DEFAULT /usr/ports/Mk/bsd.default-versions.mk
jail_mysql()
{
	forms="mysql"

	# Use remote image. You can comment this line to build the image locally.
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"

	# to overwrite default settings, see 'cbsd forms module=mysql vars' for full list
	# use 'cbsd forms' to re-configure settings in runtime.
	# export H_MYSQL_VER=80 H_PORT=1234 H_MAX_CONNECTIONS=128 ...
	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

# Ensure we have forms-mysql module
preup_mysql()
{
	# forms-based module, install it first
	module mode=install forms-mysql
}

nextcloud


Available for FreeBSD version:

verpackagesizeupdated
12.426.0.1900 Mb20 days ago
13.126.0.1903 Mb20 days ago
13.226.0.2912 Mb0 days ago
14.026.0.2914 Mb1 days ago

Nextcloud is a system for the creation and management of personal 
cloud resources. It is a fork of Owncloud. 

WWW: https://nextcloud.com 

		

cbsd repo action=get sources=img name=nextcloud usehelpers=1 runasap=1

# Example of using the marketplace of CBSD jail images

jail_nextcloud()
{
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"
	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

postcreate_nextcloud()
{
	local _ip

	_ip=$( jget jname=${jname} mode=quiet ip4_addr )

	# show postmessage
	cat <<EOF
	${jname} url          : http://${_ip}:80
	${jname} default login: ncadmin
	${jname} default pass : random generated, please see `/root/initial_nc_passwort.txt` file inside jail
EOF
}

pgadmin4


Available for FreeBSD version:

verpackagesizeupdated
12.47.0559 Mb20 days ago
13.17.0561 Mb20 days ago
13.27.0611 Mb0 days ago
14.07.0609 Mb1 days ago

pgAdmin is a management tool for PostgreSQL and derivative relational databases 
such as EnterpriseDB's EDB Advanced Server. 
It may be run either as a web or desktop application. 

WWW: https://www.pgadmin.org
		

cbsd repo action=get sources=img name=pgadmin4 usehelpers=1 runasap=1

# Example of using the marketplace of CBSD jail images

# pgadmin4 default credential
PGADMIN_SETUP_EMAIL="root@example.org"
PGADMIN_SETUP_PASSWORD="root"

jail_pgadmin4()
{
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"
	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

postcreate_pgadmin4()
{
	local _ip

	_ip=$( jget jname=${jname} mode=quiet ip4_addr )

	# show postmessage
	cat <<EOF
	${jname} url          : http://${_ip}:5050
	${jname} default email: ${PGADMIN_SETUP_EMAIL}
	${jname} default pass : ${PGADMIN_SETUP_PASSWORD}
EOF
}

phpipam


Available for FreeBSD version:

verpackagesizeupdated
12.41.5.2131 Mb20 days ago
13.11.5.2132 Mb20 days ago
13.21.5.2133 Mb0 days ago
14.01.5.2132 Mb1 days ago

See PHPIPAM integration with CBSD example: https://www.bsdstore.ru/en/13.0.x/wf_ipam_ssi.html 

phpipam is an open-source web IP address management application. 
Its goal is to provide light and simple IP address management 
application. It is ajax-based using jQuery libraries, php scripts, 
javascript and some HTML5/CSS3 features. 

- IPv4 / IPv6 address management 
- ICMP status updates, subnet scanning and status showing 
- Domain authentication (AD) / OpenLDAP authentication 
- Visual subnet display 
- VRF support 
- VLAN management 
- RIPE import 
- Import / export XLS files 
- E-Mail notification with IP details 
- IP database search 
- Custom IP/subnet/userVLAN address fields 

WWW: https://phpipam.net/ 
		

cbsd repo action=get sources=img name=phpipam usehelpers=1 runasap=1

# Example of using the marketplace of CBSD jail images

jail_phpipam()
{
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"
	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

postcreate_phpipam()
{
	local _ip

	_ip=$( jget jname=${jname} mode=quiet ip4_addr )

	# show postmessage
	cat <<EOF
	${jname} url          : http://${_ip}:5050
	${jname} default email: ${PGADMIN_SETUP_EMAIL}
	${jname} default pass : ${PGADMIN_SETUP_PASSWORD}
EOF
}

postgresql #MANAGED


Available for FreeBSD version:

verpackagesizeupdated
12.413.11445 Mb20 days ago
13.113.11446 Mb20 days ago
13.213.11446 Mb0 days ago
14.013.11469 Mb1 days ago

PostgreSQL is a sophisticated Object-Relational DBMS, supporting almost all SQL constructs, including subselects, transactions, and user-defined types and functions. It is the most advanced open-source database available anywhere. Commercial Support is also available. The original Postgres code was the effort of many graduate students, undergraduate students, and staff programmers working under the direction of Professor Michael Stonebraker at the University of California, Berkeley. In 1995, Andrew Yu and Jolly Chen took on the task of converting the DBMS query language to SQL and created a new database system which came to known as Postgres95. Many others contributed to the porting, testing, debugging and enhancement of the Postgres95 code. As the code improved, and 1995 faded into memory, PostgreSQL was born. PostgreSQL development is presently being performed by a team of Internet developers who are now responsible for all current and future development. The development team coordinator is Marc G. Fournier (scrappy@PostgreSQL.ORG). Support is available from the PostgreSQL developer/user community through the support mailing list (questions@PostgreSQL.ORG). PostgreSQL is free and the complete source is available. WWW: https://www.postgresql.org/ 
		

cbsd module mode=install forms-postgresql

cbsd repo action=get sources=img name=postgresql usehelpers=1 runasap=1

cbsd forms module=postgresql jname=jail1 [inter=0]

H_BGWRITER_DELAY
H_CHECKPOINT_COMPLETION_TARGET
H_COMMIT_DELAY
H_DATABASES
H_DATABASE_GRANT
H_DATESTYLE
H_EFFECTIVE_IO_CONCURRENCY
H_HBA_RULES
H_HOT_STANDBY
H_LISTEN_ADDRESSES
H_LOG_DESTINATION
H_LOG_FILENAME
H_LOG_ROTATION_AGE
H_LOG_TIMEZONE
H_LOG_TRUNCATE_ON_ROTATION
H_MAINTENANCE_WORK_MEM
H_MAX_CONNECTIONS
H_MAX_REPLICATION_SLOTS
H_MAX_WAL_SENDERS
H_MAX_WAL_SIZE
H_MAX_WORKER_PROCESSES
H_POSTGRES_VER
H_ROLES
H_SHARED_BUFFERS
H_SYNCHRONOUS_COMMIT
H_TEMP_BUFFERS
H_TIMEZONE
H_WAL_COMPRESSION
H_WAL_LEVEL
H_WORK_MEM

# Example of using the marketplace of CBSD jail images
# grep PGSQL_DEFAULT /usr/ports/Mk/bsd.default-versions.mk
jail_postgresql()
{
	forms="postgresql"

	# Use remote image. You can comment this line to build the image locally.
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"

	# to overwrite default settings, see 'cbsd forms module=postgresql vars' for full list
	# use 'cbsd forms' to re-configure settings in runtime.
	# export H_SHARED_BUFFERS=256MB ..

	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

# Ensure we have forms-postgresql module
preup_postgresql()
{
	# forms-based module, install it first
	module mode=install forms-postgresql
}

powerdns #MANAGED


Available for FreeBSD version:

verpackagesizeupdated
12.44.7.4_1687 Mb20 days ago
13.14.7.4_1689 Mb20 days ago
13.24.7.4_1741 Mb0 days ago
14.04.7.4_1741 Mb1 days ago


PowerDNS Server + (optional) PowerDNSAdmin UI 

The PowerDNS Authoritative Server is a versatile nameserver which supports a 
large number of backends. These backends can either be plain zone files or be 
more dynamic in nature. 

PowerDNS has the concepts of "backends". A backend is a datastore that the 
server will consult that contains DNS records (and some metadata). The backends 
range from database backends (MySQL, PostgreSQL) and BIND zone files to 
co-processes and JSON APIs. 
 

		

cbsd module mode=install forms-powerdns

cbsd repo action=get sources=img name=powerdns usehelpers=1 runasap=1

cbsd forms module=powerdns jname=jail1 [inter=0]

H_API
H_API_KEY
H_DB_POWERDNS_PASSWORD
H_DB_ROOT_PASSWORD
H_UI
H_ZONES

# Example of using the marketplace of CBSD jail images
jail_powerdns()
{
	forms="powerdns"

	# Use remote image. You can comment this line to build the image locally.
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"

	# to overwrite default settings, see 'cbsd forms module=powerdns vars' for full list
	# use 'cbsd forms' to re-configure settings in runtime.
	# export H_POWERDNS_API="yes" H_POWERDNS_UI="yes" H_POWERDNS_ZONES_NAME1="example.org" ..
	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

# Ensure we have forms-powerdns module
preup_powerdns()
{
	# forms-based module, install it first
	module mode=install forms-powerdns
}

rabbitmq #MANAGED


Available for FreeBSD version:

verpackagesizeupdated
12.43.11.10147 Mb20 days ago
13.13.11.10148 Mb20 days ago
13.23.11.17149 Mb0 days ago
14.03.11.10150 Mb1 days ago


Erlang implementation of AMQP 

		

cbsd module mode=install forms-rabbitmq

cbsd repo action=get sources=img name=rabbitmq usehelpers=1 runasap=1

cbsd forms module=rabbitmq jname=jail1 [inter=0]

H_ADMIN_ENABLE
H_CLUSTER_NAME
H_CLUSTER_NODE_TYPE
H_DELETE_GUEST_USER
H_MANAGEMENT_PORT
H_PERMISSION
H_PLUGIN
H_PORT
H_TCP_RECBUF
H_TCP_SNDBUF
H_USER
H_USER_ADMIN2
H_USER_NAME2
H_USER_PASSWORD2
H_VHOST

# Example of using the marketplace of CBSD jail images
jail_rabbitmq()
{
	forms="rabbitmq"

	# Use remote image. You can comment this line to build the image locally.
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"

	# to overwrite default settings, see 'cbsd forms module=rabbitmq vars' for full list
	# use 'cbsd forms' to re-configure settings in runtime.
	# export H_CLUSTER_NAME=myrabbit H_USER_PASSWORD2="mypassword"

	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

# Ensure we have forms-rabbitmq module
preup_rabbitmq()
{
	# forms-based module, install it first
	module mode=install forms-rabbitmq
}

postcreate_rabbitmq()
{
	local _ip

	_ip=$( jget jname=${jname} mode=quiet ip4_addr )

	# show postmessage
	cat <<EOF
	${jname} url          : http://${_ip}:15672
	${jname} default admin login: admin
	${jname} default admin pass : admin
EOF
}

redis


Available for FreeBSD version:

verpackagesizeupdated
12.47.0.1142 Mb20 days ago
13.17.0.1144 Mb20 days ago
13.27.0.1144 Mb0 days ago
14.07.0.1143 Mb1 days ago


Redis is an open source, advanced key-value store.  It is often referred 
to as a data structure server since keys can contain strings, hashes, 
lists, sets and sorted sets. 

You can run atomic operations on these types, like appending to a string; 
incrementing the value in a hash; pushing to a list; computing set 
intersection, union and difference; or getting the member with highest 
ranking in a sorted set. 

In order to achieve its outstanding performance, Redis works with an 
in-memory dataset.  Depending on your use case, you can persist it either 
by dumping the dataset to disk every once in a while, or by appending each 
command to a log. 

Redis also supports trivial-to-setup master-slave replication, with very 
fast non-blocking first synchronization, auto-reconnection on net split 
and so forth. 

WWW: https://redis.io/ 

		

cbsd repo action=get sources=img name=redis usehelpers=1 runasap=1

# Example of using the marketplace of CBSD jail images
jail_redis()
{
	forms="redis"

	# Use remote image. You can comment this line to build the image locally.
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"

	# to overwrite default settings, see 'cbsd forms module=redis vars' for full list
	# use 'cbsd forms' to re-configure settings in runtime.
	# export H_PORT=1234 H_MAXMEMORY=1g ..

	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

# Ensure we have forms-redis module
preup_redis()
{
	# forms-based module, install it first
	module mode=install forms-redis
}

redmine #MANAGED


Available for FreeBSD version:

verpackagesizeupdated
12.45.0.5730 Mb60 days ago
13.15.0.5_1729 Mb61 days ago
13.25.0.5_1729 Mb60 days ago
14.05.0.5_1760 Mb55 days ago


Redmine is a flexible project management web application 
written using Ruby on Rails framework, it is cross-platform 
and cross-database. 
 
Feature Overview: 
* Multiple projects support 
* Flexible role based access control 
* Flexible issue tracking system 
* Gantt chart and calendar 
* News, documents & files management 
* Feeds & email notifications 
* Per project wiki 
* Per project forums 
* Time tracking 
* Custom fields for issues, time-entries, projects and users 
* SCM integration (SVN, CVS, Git, Mercurial, Bazaar and Darcs) 
* Issue creation via email 
* Multiple LDAP authentication support 
* User self-registration support 
* Multilanguage support 
* Multiple databases support 
 
WWW: https://www.redmine.org 

		

cbsd module mode=install forms-redmine

cbsd repo action=get sources=img name=redmine usehelpers=1 runasap=1

cbsd forms module=redmine jname=jail1 [inter=0]

H_BIND_ADDRESS
H_DB_PASSWORD
H_EXPIRE_LOGS_DAYS
H_KEY_BUFFER_SIZE
H_MAX_ALLOWED_PACKET
H_MAX_BINLOG_SIZE
H_MAX_CONNECTIONS
H_MYSQL_VERSION
H_PORT
H_REDMINE_PACKAGE
H_REDMINE_PORT
H_SOCKET
H_SORT_BUFFER_SIZE
H_THREAD_CACHE_SIZE
H_THREAD_STACK
H_TIMEZONE

# Example of using the marketplace of CBSD jail images
jail_redmine()
{
	forms="redmine"

	# Use remote image. You can comment this line to build the image locally.
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"

	# to overwrite default settings, see 'cbsd forms module=redmine vars' for full list
	# use 'cbsd forms' to re-configure settings in runtime.
	# export H_TIMEZONE=UTC H_MAX_CONNECTIONS=100 H_REDMINE_PORT=8080 ...
	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

# Ensure we have forms-redmine module
preup_redmine()
{
	# forms-based module, install it first
	module mode=install forms-redmine
}

postcreate_redmine()
{
	local _ip

	_ip=$( jget jname=${jname} mode=quiet ip4_addr )

	# show postmessage
	cat <<EOF
	UI available via          : http://${_ip}:3000
	Login: admin
	Password: admin
EOF
}

roundcube #MANAGED


Available for FreeBSD version:

verpackagesizeupdated
12.41.6.1,1201 Mb20 days ago
13.11.6.1,1202 Mb20 days ago
13.21.6.1,1202 Mb0 days ago
14.01.6.1,1208 Mb1 days ago


		

cbsd module mode=install forms-roundcube

cbsd repo action=get sources=img name=roundcube usehelpers=1 runasap=1

cbsd forms module=roundcube jname=jail1 [inter=0]

H_BIND_ADDRESS
H_DB_ROUNDCUBE_PASSWORD
H_EXPIRE_LOGS_DAYS
H_FPM_MAX_CHILDREN
H_KEY_BUFFER_SIZE
H_MAX_ALLOWED_PACKET
H_MAX_BINLOG_SIZE
H_MAX_CONNECTIONS
H_MYSQL_VER
H_NGINX_IPV6_ENABLE
H_NGINX_WORKER_PROCESSES
H_PHP_MAX_EXECUTION_TIME
H_PHP_MAX_INPUT_TIME
H_PHP_MEMORY_LIMIT
H_PHP_OPCACHE_MEMORY_CONSUMPTION
H_PHP_POST_MAX_SIZE
H_PHP_UPLOAD_MAX_FILESIZE
H_PORT
H_ROUNDCUBE_DEFAULT_HOST
H_ROUNDCUBE_DES_KEY
H_ROUNDCUBE_PRODUCT_NAME
H_ROUNDCUBE_SKIN
H_ROUNDCUBE_SMTP_PASS
H_ROUNDCUBE_SMTP_PORT
H_ROUNDCUBE_SMTP_SERVER
H_ROUNDCUBE_SMTP_USER
H_SOCKET
H_SORT_BUFFER_SIZE
H_THREAD_CACHE_SIZE
H_THREAD_STACK
H_TIMEZONE

# Example of using the marketplace of CBSD jail images
jail_roundcube()
{
	forms="roundcube"

	# Use remote image. You can comment this line to build the image locally.
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"

	# to overwrite default settings:
	# export H_TIMEZONE="Europe/Berlin" \
	# H_DB_ROUNDCUBE_PASSWORD="aihah8ieyohm1EeThepa" \
	# H_ROUNDCUBE_PRODUCT_NAME="My Webmail" \
	# H_ROUNDCUBE_SMTP_SERVER="smtp.example.org" \
	# H_ROUNDCUBE_DEFAULT_HOST="imap.example.org" \
	# H_ROUNDCUBE_DES_KEY="rcmail-!24ByteDESkey*Str" ...

	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

# Ensure we have forms-roundcube module
preup_roundcube()
{
	# forms-based module, install it first
	module mode=install forms-roundcube
}

postcreate_roundcube()
{
	local _ip

	_ip=$( jget jname=${jname} mode=quiet ip4_addr )

	# postmessage
	${CAT_CMD} <<EOF

	UI available via: http://${ip4_addr}

EOF

}

rtorrent


Available for FreeBSD version:

verpackagesizeupdated
12.40.9.8314 Mb20 days ago
13.10.9.8316 Mb20 days ago
13.20.9.8317 Mb0 days ago
14.00.9.8333 Mb1 days ago


Rtorrent is a BitTorrent Client written in C++ for *nix. 
+ WEB UI via rutorrent project 

		

cbsd repo action=get sources=img name=rtorrent usehelpers=1 runasap=1

# Example of using the marketplace of CBSD jail images
jail_rtorrent()
{
	forms="rtorrent"

	# Use remote image. You can comment this line to build the image locally.
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"

	# to overwrite default settings, see 'cbsd forms module=rtorrent vars' for full list
	# use 'cbsd forms' to re-configure settings in runtime.
	# export H_PORT=1234 H_MAXMEMORY=1g ..

	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

# Ensure we have forms-rtorrent module
preup_rtorrent()
{
	# forms-based module, install it first
	module mode=install forms-rtorrent
}

sambashare


Available for FreeBSD version:

verpackagesizeupdated
12.44.13.17_596 Mb20 days ago
13.14.13.17_597 Mb20 days ago
13.24.13.17_597 Mb0 days ago
14.04.13.17_597 Mb1 days ago

Samba is an attempt to implement an Active Directory compatible Domain 
Controller. 

This is a static image/template for CBSD that provides a Samba-based share in RW(!) mode 
that is accessible without authentication ! 
This can be useful for obtaining the SMB/CIFS resource as quickly as possible. 

If you want a full managed Samba service, please use the samba4 image/template. 

Usage: 

 ${ip4_addr}

or:

  smb://${ip4_addr}

Mount via cifs-utils:

cat > /root/.examplecredentials <<EOF
username=guest
password=guest
EOF

chmod 0400 /root/.examplecredentials

mount -t cifs -o rw,vers=3.0,credentials=/root/.examplecredentials //ServerIP/share /media/share
		

cbsd repo action=get sources=img name=sambashare usehelpers=1 runasap=1

# Example of using the marketplace of CBSD jail images

jail_sambashare()
{
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"
	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

postcreate_sambashare()
{
	local _ip

	_ip=$( jget jname=${jname} mode=quiet ip4_addr )

	# show postmessage
	cat <<EOF
	${jname} url          : http://${_ip}:5050
	${jname} default email: ${PGADMIN_SETUP_EMAIL}
	${jname} default pass : ${PGADMIN_SETUP_PASSWORD}
EOF
}

xfce4


Available for FreeBSD version:

verpackagesizeupdated
12.44.18770 Mb20 days ago
13.14.18771 Mb20 days ago
13.24.18771 Mb0 days ago
14.04.18783 Mb1 days ago

This is a XWindows container with a XFCE4-based graphical environment 
accessible over the network via the RDP protocol, e.g.: 

default RDP login: xuser 
default RDP password: xuser 

E.g. FreeRDP connection string: 

> xfreerdp +clipboard +fonts /rfx /size:1200x960 /u:xuser /p:xuser /v:IP 

		

cbsd repo action=get sources=img name=xfce4 usehelpers=1 runasap=1

# Example of using the marketplace of CBSD jail images

jail_xfce4()
{
	from="https://dl.bsdstore.ru/img/`uname -m`/`uname -m`/`sysctl -n kern.osrelease | cut -d - -f 1`/${jname}/${jname}.img"
	ip4_addr="DHCP"
	host_hostname="${jname}.my.domain"
	ver="native"
	interface="auto"
	runasap=1
	pkg_bootstrap=0
}

postcreate_xfce4()
{
	local _ip

	## postmessage
	_ip=$( jget jname=${jname} mode=quiet ip4_addr )

	# show postmessage
	cat <<EOF

	Notes: For performance reasons, the RDP session is not encrypted by default ( crypt_level=none ).
	Please change the crypt_level= settings in /usr/local/etc/xrdp/xrdp.ini depending on your case!

	default RDP login: xuser
	default RDP password: xuser

	Use 'sudo' or 'doas' for root privileges.

	E.g. FreeRDP connection string:

	> xfreerdp +clipboard +fonts /rfx /size:1200x960 /u:xuser /p:xuser /v:${_ip}

	Valid resolution: check xrandr, e.g:

	2560x1440
	2048x1152
	1920x1200
	1920x1080
	1680x1050
	1600x1200
	1280x1024
	1280x720
	1200x960
	1152x864
	1024x768
	800x600
	720x576
	720x480
	640x480

EOF
}