Sign inSign up

tienthanh2509/cms-aws

By tienthanh2509

•Updated almost 9 years ago

CMS :: Main. Contest Management System

Image
0

333

tienthanh2509/cms-aws repository overview

⁠Contest Management System

Homepage: http://cms-dev.github.io/⁠

Build Status Join the chat at https://gitter.im/cms-dev/cms

⁠Introduction

CMS, or Contest Management System, is a distributed system for running and (to some extent) organizing a programming contest. http://cms-dev.github.io/⁠

CMS has been designed to be general and to handle many different types of contests, tasks, scorings, etc. Nonetheless, CMS has been explicitly build to be used in the 2012 International Olympiad in Informatics, held in September 2012 in Italy.

And CMS has been to be used in 2016-2017 TDMU Programming Contest, IOI Binh Duong 2017 Programming Contest

⁠Support

The complete CMS documentation is at https://cms.readthedocs.org/⁠.

The mailing list for announcements, user support and general discussion is [email protected]⁠. You can subscribe at http://www.freelists.org/list/contestms⁠. So far, it is an extremely low traffic mailing list.

The mailing list for development discussion (to submit feedback, proposals and critics, get opinions and reviews, etc.) is [email protected]⁠. You can subscribe at http://www.freelists.org/list/contestms-dev⁠.

Please don't use these mailing lists for bug reports. File them on github⁠ instead.

For extemporaneous support and discussion, join the Gitter chat (see link above).

To help with the troubleshooting, you can collect the complete log files that are placed in /var/local/log/cms/ (if CMS was running installed) or in ./log (if it was running from the local copy).

⁠Usage

Example docker-compose.yaml Warning: This is example config, read more at https://cms.readthedocs.io/en/latest/Running%20CMS.html⁠

version "3"
services:
###################################################################################################
# Module: olp
# Description: Olympic tin học - TDMU - https://olp.tdmu.edu.vn
###################################################################################################
  # Admin web service
  cms_admin:
    build:
      context: ./build/cms-dev
      dockerfile: Dockerfile-aws
    image: tienthanh2509/cms-aws
    volumes:
      - ./config/cms-dev/cms.conf:/usr/local/etc/cms.conf:ro
      - ./config/cms-dev/cms.ranking.conf:/usr/local/etc/cms.ranking.conf:ro
    networks:
      - frontend
      - backend
    deploy:
      labels:
        - "traefik.enable=true"
        - "traefik.backend=olp_admin"
        - "traefik.port=8889"
        - "traefik.frontend.entryPoints=http,https"
        - "traefik.frontend.rule=Host: admin.olp.d13ht01.tk"
      restart_policy:
        condition: on-failure

  # Contest web service
  cms_contest:
    build:
      context: ./build/cms-dev
      dockerfile: Dockerfile-cws
    image: tienthanh2509/cms-cws
    environment:
      CMS_CONTEST: 1
    privileged: true
    volumes:
      - ./config/cms-dev/cms.conf:/usr/local/etc/cms.conf:ro
      - ./config/cms-dev/cms.ranking.conf:/usr/local/etc/cms.ranking.conf:ro
      - ./data/app/cms-dev/print:/home/cmsuser/PDF
    networks:
      - frontend
      - backend
    deploy:
      labels:
        - "traefik.enable=true"
        - "traefik.backend=olp"
        - "traefik.port=8888"
        - "traefik.frontend.entryPoints=http,https"
        - "traefik.frontend.rule=Host: olp.tdmu.edu.vn"
      restart_policy:
        condition: on-failure

  # Ranking web service
  cms_ranking:
    build:
      context: ./build/cms-dev
      dockerfile: Dockerfile-rws
    image: tienthanh2509/cms-rws
    volumes:
      - ./config/cms-dev/cms.conf:/usr/local/etc/cms.conf:ro
      - ./config/cms-dev/cms.ranking.conf:/usr/local/etc/cms.ranking.conf:ro
      - ./data/app/cms-dev/ranking:/var/local/lib/cms/ranking
    networks:
      - frontend
    deploy:
      labels:
        - "traefik.enable=true"
        - "traefik.backend=olp_ranking"
        - "traefik.port=8890"
        - "traefik.frontend.entryPoints=http,https"
        - "traefik.frontend.rule=Host: ranking.olp.d13ht01.tk"
      restart_policy:
        condition: on-failure

Tag summary

Content type

Image

Digest

Size

844.7 MB

Last updated

almost 9 years ago

docker pull tienthanh2509/cms-aws