Run your own version of MMACalendars.com

Run your own version of MMACalendars.com

I like to make all the projects I can available for anyone to run on their own machines. This will give you a quick rundown on how to deploy the code for mmacalendars.com via docker on any machine docker will run on. Do keep in mind you'll want to have either a local domain, public domain, or static IP address configured to use with a service like this if you want to automatically sync the events with the calendar apps on your phone or computer.

Run with docker CLI

First, you'll want to pull the latest version of the image.

docker pull registry.richardsoper.me/richardsoper/mma-calendar:latest 

Next you'll need to run the container.

docker run --name mma-calendar -p 5000:5000 -e URL="{your-ip-address or hostname}" -d

This will run the container on your machine and make the web interface available on port 5000. The URL environment variable passed in with either your static IP address or host name will be used in the URL's that deliver the calendars to your client devices.

Run with docker compose

Create your docker-compose.yml file.

version: "3.7"

services:
  mma_cal:
    image: registry.richardsoper.me/richardsoper/mma-calendar:latest
    name: mma_calendar
    restart: unless-stopped
    environment:
      - URL="your ip address or hostname"
    ports:
      - 5000:5000

Run the docker compose command.

docker-compose up -d

Questions?

Feel free to reach out to me with questions. Including requests for other MMA events to include! Links for all the ways you can find me are available here.