Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wmfs/tymly-base
Base Tymly Docker image
https://github.com/wmfs/tymly-base
build docker docker-image tymly
Last synced: 5 days ago
JSON representation
Base Tymly Docker image
- Host: GitHub
- URL: https://github.com/wmfs/tymly-base
- Owner: wmfs
- License: mit
- Created: 2018-07-09T10:38:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-16T17:47:05.000Z (over 2 years ago)
- Last Synced: 2024-09-21T09:09:34.563Z (about 2 months ago)
- Topics: build, docker, docker-image, tymly
- Language: Shell
- Homepage:
- Size: 1.11 MB
- Stars: 2
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Tymly-base
![Tymly](https://tymly.io/wp-content/uploads/2017/11/logo-tymly-main-colour-300x79.png)
[![Tymly build](https://img.shields.io/badge/Tymly-build-blue.svg)](https://tymly.io)
[![npm (scoped)](https://img.shields.io/npm/v/@wmfs/tymly-base.svg)](https://www.npmjs.com/package/@wmfs/tymly-base)
[![Build Status](https://travis-ci.com/wmfs/tymly-base.svg?branch=master)](https://travis-ci.com/wmfs/tymly-base)
[![Dependabot badge](https://img.shields.io/badge/Dependabot-active-brightgreen.svg)](https://dependabot.com/)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/wmfs/tymly-base/blob/master/LICENSE)---
### What?This repo builds a runnable Docker image of Tymly from [Tymly core](https://github.com/wmfs/tymly-core#tymly) and associated [plugins](https://github.com/search?q=topic%3Aplugin+org%3Awmfs+fork%3Atrue).
It contains the following packages:
* [@wmfs/tymly-auth-auth0-plugin](https://github.com/wmfs/tymly-auth-auth0-plugin#tymly-auth-auth0-plugin)
* [@wmfs/tymly-diaries-plugin](https://github.com/wmfs/tymly-diaries-plugin#tymly-diaries-plugin)
* [@wmfs/tymly-etl-plugin](https://github.com/wmfs/tymly-etl-plugin#tymly-etl-plugin)
* [@wmfs/tymly-express-plugin](https://github.com/wmfs/tymly-express-plugin#tymly-express-plugin)
* [@wmfs/tymly-gov-uk-notify-plugin](https://github.com/wmfs/tymly-solr-plugin#tymly-solr-plugin)
* [@wmfs/tymly-pg-plugin](https://github.com/wmfs/tymly-pg-plugin#tymly-pg-plugin)
* [@wmfs/tymly-rankings-plugin](https://github.com/wmfs/tymly-rankings-plugin#tymly-rankings-plugin)
* [@wmfs/tymly-runner](https://github.com/wmfs/tymly-runner#tymly-runner)
* [@wmfs/tymly-solr-plugin](https://github.com/wmfs/tymly-solr-plugin#tymly-solr-plugin)
* [@wmfs/tymly-users-plugin](https://github.com/wmfs/tymly-users-plugin#tymly-users-plugin)---
### BuildThe image is built with the [Dockerfile](https://github.com/wmfs/tymly-base/blob/master/Dockerfile)
```dockerfile
FROM node:9-alpine
LABEL maintainer="West Midlands Fire Service "
COPY . .
RUN npm install --production
CMD ["node", "./node_modules/@wmfs/tymly-runner/lib/index.js"]
```Please see [.dockerignore](https://github.com/wmfs/tymly-base/blob/master/.dockerignore) for repo contents excluded from the Docker image.
All that is copied from the repo into the image is:
* config/
* tools/
* package.jsonThe run command
```bash
npm install --production
```ensures that only production dependencies are installed in the image.
---
### Versioning[Dependabot](https://dependabot.com/#how-it-works) keeps dependencies up to date.
[semantic-release](https://github.com/semantic-release/semantic-release) handles the versioning of the image. See [.releaserc.json](https://github.com/wmfs/tymly-base/blob/master/.releaserc.json) for semantic-release configuration.
Please see the [releases page](https://github.com/wmfs/tymly-base/releases) or [changelog](https://github.com/wmfs/tymly-base/blob/master/CHANGELOG.md) for commit details.
---
### DockerThis Docker image is free and available to pull from the [Docker Hub](https://hub.docker.com/r/wmfs/tymly-base).
```bash
docker pull wmfs/tymly-base
```---
### npmTymly-base is also published to [npm](https://www.npmjs.com/) as a [package](https://www.npmjs.com/package/@wmfs/tymly-base).
---
### ConfigTymly requires [configuration](https://github.com/wmfs/tymly-base/tree/master/config) variables in order to boot.
---
### GarnishIn order to add useful functionality to this base image you need to garnish this image with [blueprints](https://github.com/search?q=topic%3Ablueprint+org%3Awmfs+fork%3Atrue).
Please follow [Dockerfile best practises](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/) when creating an image from Tymly-base.
---
### DocsMore information on Tymly can be found on the [website](https://tymly.io).
---
### LicenseTymly and it's components are licensed under the [MIT License](https://github.com/wmfs/tymly-base/blob/master/LICENSE).