Skip to content

Instantly share code, notes, and snippets.

@naveed125
Created May 2, 2020 20:12
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 naveed125/f20d028b67a3832a5d21d1698251d22b to your computer and use it in GitHub Desktop.
Save naveed125/f20d028b67a3832a5d21d1698251d22b to your computer and use it in GitHub Desktop.
Docker Compose File for React and Flask Application
version: '3'
services:
client:
build: client
stdin_open: true
ports:
- 80:3000
volumes:
- ./client:/app
server:
build: server
ports:
- 5000:5000
volumes:
- ./server:/app
db:
image: mongo:4.2.6
ports:
- 27017:27017
- 27018:27018
- 27019:27019
volumes:
- ./scripts:/scripts
- ./data/db:/data/db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment