Docker components

Docker components

Everything on the right of the image runs in docker, we use docker-compose to automatically set up everything. Each of the modules has a different purpose, but the modules are currently not separated.

  • OMS-Core

    • omscore-data: A data container which currently is not but can be used for persisting the data of omscore in a production environment

    • omscore: The workspace which holds all the PHP tools like composer, php artisan, etc. Use this if you want to work with the code

    • omscore-nginx: The webserver which serves the php files

    • php-fpm: Preprocessor for php

    • postgres: Database

    • pgadmin: Something like phpmyadmin, port 5050

  • OMS-Events

    • omsevents: The node.js backend which exposes the API

    • omsevents-frontend: A nginx which does static serving for frontend and media files

    • mongodb: Database