Skip to content
This repository was archived by the owner on May 25, 2020. It is now read-only.

Latest commit

 

History

History
52 lines (33 loc) · 2.28 KB

README.md

File metadata and controls

52 lines (33 loc) · 2.28 KB

Ubuntu baseimage Meteor Docker Build

Ubuntu baseimage for build and run MeteorJS applications inside docker container.

Features

  • Ubuntu image based on phusion/baseimage-docker (look why and read about image features)
  • Meteor preinstaled
  • During build up, Meteor version will install from your app and NodeJS and NPM will be linked from this Meteor version for compatibility.
  • Don't depend on NodeJS installation (Meteor release NodeJS and NPM version is used).
  • Your application will be build inside docker container. Build host (like CI) doesn't require Meteor install.
  • You can add volume linked to /var/log/meteor.log for Meteor logging outside of container.
  • You can add more services or deamons to run in container for example memcached

Project state

Currently in beta testing. Not recomended for production use.

How to use

See /example folder how to build your application docker container. Simply copy files from /example folder into your Meteor project. Setup options in Dockerfile and docker-build.sh file and run sh docker-build.sh to build your app image.

Road map (todo)

  • Add image versions depended on baseimage and Meteor versions
    • at now solved with Meteor release update on build from your APP Meteor vesion
  • Run app under Meteor user for security reasons
  • Meteor proper logging with date-time (to syslog?)
  • Add build tests
  • Release production ready version
  • Add optional Nginx and MongoDB install with custom config (or run in docker-compose)
  • Add examples to install Imagemagick, Graphicmagick, etc. to use with Meteor

All Contribustions, bug reports or features request are welcome!

Credits

Thanks guys!

License

MIT