Created
September 18, 2019 02:54
-
-
Save FikriRNurhidayat/16905cab570fdf605e958d6239cee557 to your computer and use it in GitHub Desktop.
Docker Compose for Express Auth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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