BeyondCron happily runs within Docker containers, and is now available for evaluation from Docker Hub.

Getting started

The quickest way to get up an running with BeyondCron and Docker, is to use Docker Compose.

Download compose file

Download the basic compose file to set up the following environment.

Basic docker environment

% wget https://beyondcron.com/assets/docker-containers/docker-compose.yaml

% wget https://beyondcron.com/assets/posts/docker-containers/docker-compose.yaml
% cat docker-compose.yaml

version: '2' networks: beyondcron: driver: bridge volumes: server-1-data: driver: local agent-home: driver: local services: server-1: image: beyondcron/bc-server hostname: server-1 networks: - beyondcron volumes: - server-1-data:/var/opt/beyondcron agent-1: image: beyondcron/bc-agent hostname: agent-1 networks: - beyondcron volumes: - agent-home:/home/bc-daemon command: server-1 web-1: image: beyondcron/bc-web hostname: web-1 networks: - beyondcron ports: - "8080:8080" command: server-1
Create and start containers

% docker-compose —project-name beyondcron up

Starting agent-1 ... done Starting server-1 ... done Starting web-1 ... done

Using the command line, create the first user

% docker exec -it beyondcron_server-1_1 /opt/beyondcron/bin/bc-cli --admin

...

BeyondCron % user add username full name

User username added

BeyondCron % user password username secret

User username updated

BeyondCron % user role add username admin

User username updated

BeyondCron % exit

Connect to the web interface

Using your favourite web browser connect to port 8080 of your docker engine, and log in to BeyondCron

% open http://engineAddress:8080

Login window

See also