Public Repository

Last pushed: 4 months ago
Short Description
Cron jobs SugarCRM DB backup to AWS S3 and let's encrypt cert update, based on environment variables
Full Description

Cron Jobs for MySQL

Description

Cron jobs SugarCRM DB backup to AWS S3 and let's encrypt cert update, based on environment variables

Source Code

Github: nohona/cron-crm

Installation

  • To build:
    docker build -f dockerfile -t nohona/cron-crm:latest .
    
  • To run:

    docker run -d -t -i -e MYSQL_ROOT_PASSWORD='<password>' \
    -e MYSQL_HOST='<mysql-host-url>' \
    -e MYSQL_DATABASE='<db-name>' -e MYSQL_USER='<db-user>' \
    -e MYSQL_PASSWORD='<user-password>' -e S3_URL='<sr-url>' \
    -e AWS_ACCESS_KEY_ID='<aws-key>' \
    -e AWS_SECRET_ACCESS_KEY='<aws-secret>' \
    --name cron-crm <dockerhub-user-name>/cron-crm:latest
    
  • Container shell access:

    docker exec -it cron-crm bash
    docker logs cron-crm
    

Resources:

Docker Pull Command
Owner
nohona

Comments (0)