Skip to content

Instantly share code, notes, and snippets.

@FikriRNurhidayat
Created September 18, 2019 02:54
Show Gist options
  • Save FikriRNurhidayat/16905cab570fdf605e958d6239cee557 to your computer and use it in GitHub Desktop.
Save FikriRNurhidayat/16905cab570fdf605e958d6239cee557 to your computer and use it in GitHub Desktop.
Docker Compose for Express Auth
version: "2"
services:
express_auth:
image: fikrirnurhidayat/express-auth:latest
build: .
ports:
- "8080:8080"
network_mode: "host"
environment:
- DB_CONNECTION="mongodb://localhost/express_auth"
- NODE_ENV="staging"
- SECRET_OR_KEY="I LOVE YOU"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment