Skip to content
This repository has been archived by the owner on Aug 26, 2023. It is now read-only.

tiredofit/docker-staytus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github.com/tiredofit/docker-staytus

Docker Pulls Docker Stars [Docker Layers]

About

Dockerfile to build a Staytus container image.

  • This Container uses a customized Alpine Linux base which includes s6 overlay enabled for PID 1 Init capabilities, zabbix-agent based on TRUNK compiled for individual container monitoring, Cron also installed along with other tools (bash,curl, less, logrotate, mariadb-client, nano, vim) for easier management. It also supports sending to external SMTP servers..

Changelog

Maintainer

Table of Contents

Prerequisites and Assumptions

This image assumes that you are using a reverse proxy such as jwilder/nginx-proxy or traefik.

You will also need an external MariaDB server for storage.

Installation

Automated builds of the image are available on Registry and is the recommended method of installation.

docker pull tiredofit/staytus:(imagetag)

The following image tags are available:

  • latest - Most recent release of Staytus

Quick Start

Configuration

Persistent Storage

The following directories are used for configuration and can be mapped for persistent storage.

Directory Description
/assets/staytus Use this directory if you would like to copy custom themes to overwrite default on startup

Database

Create a MariaDB database and set the environment variables below to make connection.

Environment Variables

Along with the Environment Variables from the Base image and Ruby Image, below is the complete list of available options that can be used to customize your installation.

Parameter Description
DB_HOST MariaDB Database hostname e.g. staytus-db
DB_NAME Database Name e.g. staytus
DB_USER Database User e.g. user
DB_PASS Database Password e.g. password
STAYTUS_SMTP_HOSTNAME SMTP Server Hostname e.g. postfix-relay
STAYTUS_SMTP_PORT SMTP Server Port to connect to e.g. 25
STAYTUS_SMTP_USERNAME (optional) SMTP Username e.g. user
STAYTUS_SMTP_PASSWORD (optional) SMTP Password e.g. password

If you enable DEBUG_MODE=TRUE you will get increased verbosity in the logs.

Networking

The following ports are exposed.

Port Description
8787 Puma Web Daemon

Maintenance

Shell Access

For debugging and maintenance purposes you may want access the containers shell.

docker exec -it (whatever your container name is e.g. staytus) bash

References

About

Docker Staytus Image w/s6 overlay, zabbix monitoring based on Alpine

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published