Skip to content

MPS Generator

Description

DCU Media Production Society - Weekly Email Generator

Docker Compose File

services:
  mpsgenerator:
    image: ghcr.io/cheeselad/mps-newsletter-generator-v2:latest
    container_name: mpsgenerator
    hostname: mpsgenerator
    restart: unless-stopped
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.mpsgenerator.entrypoints=https"
      - "traefik.http.routers.mpsgenerator.rule=Host(`mpsgenerator.jakefarrell.ie`)"
      - "traefik.http.services.mpsgenerator.loadbalancer.server.port=5000"
      - "traefik.http.routers.mpsgenerator.service=mpsgenerator"
    environment:
      - PORT=5000
      - FLASK_ENV=production
      - PYTHONUNBUFFERED=1
      - ZIPLINE_URL=${ZIPLINE_URL:-http://localhost:3000}
      - ZIPLINE_TOKEN=${ZIPLINE_TOKEN:-}
    volumes:
      - ./config.json:/app/config.json

networks:
  default:
    name: traefik_net
    external: true

Notes