Sign inSign up

tigron/timeoff-management

By tigron

Updated about 4 years ago

Docker image for the timeoff.management application

Image
1

2.5K

tigron/timeoff-management repository overview

tigron/timeoff-management

Docker implementation of the timeoff-management project. Originally made by NOS Inovação

Using the image

By default timeoff-management uses SQLite for both data and sessions and no SMTP server.

To change the default configurations use the environment variables listed below.

VariablePossible values
ALLOW_ACCOUNTS_CREATIONtrue (default), false
MYSQL_HOSThost
MYSQL_USERport
MYSQL_PASSWORDpassword
PROMOTION_URLhttp://timeoff.management
NODE_ENVdevelopment (default), test, production
SENDER_MAILemail address
SESSION_USE_REDIStrue, false (default)
SESSION_REDIS_HOSThost
SESSION_REDIS_PORTport
APP_URLhttp://app.timeoff.management (default)
SMTP_HOSThost
SMTP_PORTport
SMTP_USERusername
SMTP_PASSWORDpassword

Tags

Docker images are tagged using the TimeOff.Management version number, followed by a revision if there is one. There are also tags for the most recent image as well as for the development image.

  • timeoff-management:latest
  • timeoff-management:development
  • timeoff-management:release-1.0.0
  • timeoff-management:release-1.4.0

More info on Docker hub.

Building and running the Docker image
Building

Building the image can be done using the command below.

$ docker build -t tigron/timeoff-management:latest .

This will result in an image being built with tag latest.

Running

Running the image in a local Docker instance can be done as follows.

$ docker run -e NODE_ENV=production tigron/timeoff-management:latest

Tag summary

Content type

Image

Digest

sha256:f03b55c97

Size

139.8 MB

Last updated

about 4 years ago

docker pull tigron/timeoff-management