Skip to content

Instantly share code, notes, and snippets.

@PavelPolyakov
Last active January 21, 2019 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PavelPolyakov/fc4e391e7f12913d582390caba69f9b4 to your computer and use it in GitHub Desktop.
Save PavelPolyakov/fc4e391e7f12913d582390caba69f9b4 to your computer and use it in GitHub Desktop.
version: '3'
services:
my-project-ts:
build: .
depends_on:
- mongodb
ports:
- '3000:3000'
environment:
- NODE_ENV=production
mongodb:
image: mongo:3.6.0
ports:
- "27017:27017"
volumes:
- dbvolume:/data
environment: {
AUTH: "no"
}
volumes:
dbvolume: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment