Docker image for the timeoff.management application
2.5K
Docker implementation of the timeoff-management project. Originally made by NOS Inovação
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.
| Variable | Possible values |
|---|---|
| ALLOW_ACCOUNTS_CREATION | true (default), false |
| MYSQL_HOST | host |
| MYSQL_USER | port |
| MYSQL_PASSWORD | password |
| PROMOTION_URL | http://timeoff.management |
| NODE_ENV | development (default), test, production |
| SENDER_MAIL | email address |
| SESSION_USE_REDIS | true, false (default) |
| SESSION_REDIS_HOST | host |
| SESSION_REDIS_PORT | port |
| APP_URL | http://app.timeoff.management (default) |
| SMTP_HOST | host |
| SMTP_PORT | port |
| SMTP_USER | username |
| SMTP_PASSWORD | password |
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.
More info on Docker hub.
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 the image in a local Docker instance can be done as follows.
$ docker run -e NODE_ENV=production tigron/timeoff-management:latest
Content type
Image
Digest
sha256:f03b55c97…
Size
139.8 MB
Last updated
about 4 years ago
docker pull tigron/timeoff-management