Skip to content

Docker-compose compilation and setup

Windyo requested to merge Windyo/mobilizon:master into master

This pull only contains changes in the docker folder.

It leverages a multi-build process for the app, to keep image size low, and a docker-compose file to set up the environment.

User interaction to setup and use mobilizon is limited to:

  • edit docker-compose.yml to set arguments and env vars
  • do docker-compose build && docker-compose run.

Everything else is handled via the containers. Note that this approach is not suited to having an image stored on a repo as the MIX commands require knowing the instance before compilation.

Edit:changed the setup to allow pulling ENV vars based on work by Thomas Clavier.

Edited by Windyo

Merge request reports