Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/srmullen/docker-express-mongo-redis
https://github.com/srmullen/docker-express-mongo-redis
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/srmullen/docker-express-mongo-redis
- Owner: srmullen
- Created: 2021-04-15T20:29:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-04-16T19:34:03.000Z (over 3 years ago)
- Last Synced: 2024-11-04T02:42:07.779Z (about 2 months ago)
- Language: JavaScript
- Size: 44.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.