EEA & Eionet documentation hub

Browse documentation for IT-systems used by the European Environment Agency and the Eionet network.

Docker image for CRON daemon based on Alpine

eea.docker.reportek.cron

This image is generic, thus you can obviously re-use it within your non- related EEA projects.

  • :latest

Base docker image

Source code

Installation

  1. Install Docker.

Usage

Run with Docker Compose

Here is a basic example of a docker-compose.yml file using the eeacms /reportek-cron docker image:

cron:
  image: eeacms/reportek-cron
  links:
  - webapp
  env_file:
  - cron.env

webapp:
  image: razvan3895/nodeserver

Run it with environment variable set in cron.env

  • CRONTASK=
  • CRONTASK_INTERVAL=*/2 * * * *

The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.

The Original Code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Funding

European Environment Agency (EU)

Edit this page