Sign inSign up

wmfs/tymly-core

By wmfs

Updated over 8 years ago

An open platform to capture, process and publish data

Image
1

10K+

wmfs/tymly-core repository overview

tymly

Please see tymly.io for more information regarding Tymly.

Usage

docker run -p 3000:<port> -e PG_CONNECTION_STRING=postgres://postgres:postgres@localhost -e TYMLY_AUTH_SECRET=Shh! -e TYMLY_AUTH_AUDIENCE="I am the audience!" wmfs/tymly

Environment variables

Variable NameDescription
PG_CONNECTION_STRINGConnection string pointing to a specific PostgreSQL database, e.g. PG_CONNECTION_STRING=postgres://postgres:postgres@localhost:5432/my_test_db.
TYMLY_CERTIFICATE_PATHPath to the public certificate for verifying JWT tokens
TYMLY_AUTH_SECRETA secret or private key used when signing JWT Tokens. For example TYMLY_AUTH_SECRET=Shh!.
TYMLY_AUTH_AUDIENCESpecifies an audience (aud) alongisde TYMLY_CERTIFICATE_PATH or TYMLY_AUTH_SECRET when signing a JWT, e.g. TYMLY_AUTH_AUDIENCE="I am the audience!".
TYMLY_PLUGINS_PATHPlugin directories to use at boot-time, ; delimited if multiple sources. For example: TYMLY_PLUGINS_PATH="/plugins/production/*-plugin;/plugins/development/*-plugin".
TYMLY_BLUEPRINTS_PATHExactly the same as TYMLY_PLUGINS_PATH, but used to specifiy the location(s) of blueprints to load at boot time, e.g. TYMLY_BLUEPRINTS_PATH="/blueprints/production/*-blueprint;/plugins/development/*-blueprint".
TYMLY_ADMIN_USERIDIdentifies a username (that will be decoded from incoming JWT tokens) which should be treated as an administrator. For example: TYMLY_ADMIN_USERID=bigboss.
TYMLY_ADMIN_ROLESIndicates which roles should be automatically granted to the user identified by TYMLY_ADMIN_USERID (delimited by ,). For example: TYMLY_ADMIN_ROLES=tymly_admin.
DEBUGWe use the debug package, where Tymly plugin and state names equate to debug modules, for example: DEBUG=tymly,processingCscFiles,-express.

Tag summary

Content type

Image

Digest

Size

70.8 MB

Last updated

over 8 years ago

docker pull wmfs/tymly-core