Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/srmullen/docker-express-mongo-redis


https://github.com/srmullen/docker-express-mongo-redis

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        

Going to production
-------------------

Don't do things as root user.

To install docker on ubuntu server use https://get.docker.com/

Set environment variables on ubuntu server.
Create a `.env` file on prod server.
In `.profile` add `set -o allexport; source /root/.env; set +o allexport`

Clone repo into app folder.

Images should never be built on production server.

Build image on dev server.
Push to docker hub.