Sign inSign up

aliengen/timeoff-management-application

By aliengen

•Updated 11 months ago

Simple yet powerful absence management software for small and medium size business.

Image
0

2.4K

aliengen/timeoff-management-application repository overview

Cloud ready version of Timeoff.management by AlienGen⁠.

This version also includes merge from others contributors.

More information about the deployment on the README of the repository: https://github.com/AlienGen/timeoff-management-application⁠

⁠Launching the image

⁠Docker compose

Create a .env file with the configuration according to your environment.

Create a docker-compose.yml file with the following content:

version: "3"

services:
  timeoff:
    image: aliengen/timeoff-management-application:master
    ports:
      - "3000:3000"
    env_file:
      - .env

Launch the container:

docker-compose up

⁠Configuration

VariableDescriptionDefault value
BRANDING_URLURL of the applicationhttp://app.timeoff.management/⁠
BRANDING_WEBSITEURL of the company's websitehttp://timeoff.management/⁠
PORTPort of the application3000
NODE_ENVEnvironment of NodeJsdevelopment
CRYPTO_SECRETSecret for password hashing
DATABASE_URLDatabase URL format (mysql://localhost:3306/database)
DB_HOSTDatabase hostname
DB_DATABASEDatabase name
DB_USERNAMEDatabase username
DB_PASSWORDDatabase password
DB_DIALECTDatabase dialect (sqlite, mysql, postgres)sqlite
DB_STORAGEDatabase storage filedb.[ENV].sqlite
DB_LOGGINGLogging of queriesfalse
DB_POOL_MAXMaximum number of connection in pool5
DB_POOL_MINMinimum number of connection in pool0
DB_POOL_ACQUIREThe maximum time, in milliseconds, that pool will try to get connection before throwing error60000
DB_POOL_IDLEThe maximum time, in milliseconds, that a connection can be idle before being released.10000
SMTP_HOSTHost of the smtp serverlocalhost
SMTP_PORTPort of the smtp server25
SMTP_FROMSender email[email protected]⁠
SMTP_AUTH_USERUsername for the smtp server
SMTP_AUTH_PASSPassword for the smtp server
SMTP_REQUIRE_TLSUse STARTTLSfalse
SESSIONS_SECRETSecret for the sessions
SESSIONS_STOREStorage for the sessions (sequelize,redis)sequelize
SESSIONS_REDIS_HOSTRedis hostnamelocalhost
SESSIONS_REDIS_PORTRedis port6379
SLACK_TOKENIf set, the Slack token to send message
SLACK_BOT_NAMEName of the bot on Slack
SLACK_ICON_URLIcon of the bot on Slack
LOGIN_DEFAULTDisplay the default login formtrue
LOGIN_GOOGLEEnable the authentication with Googlefalse
GOOGLE_ANALYTICS_TRACKERGoogle Analytics tracker code
GOOGLE_AUTH_CLIENTIDGoogle Auth client ID
GOOGLE_AUTH_CLIENTSECRETGoogle Auth client secret
GOOGLE_AUTH_DOMAINSAllowed domains
OPTIONS_REGISTRATIONAllow users to create a new company account on Timeofftrue

Tag summary

Content type

Image

Digest

sha256:eaf3caced…

Size

341.5 MB

Last updated

11 months ago

docker pull aliengen/timeoff-management-application:master