Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- nginx:
- build:
- context: './dockerfiles/nginx'
- ports:
- - 18080:80
- gunicorn:
- build:
- context: './dockerfiles/gunicorn'
- restart: always
- working_dir: /var/www
- command:
- - gunicorn
- - -b gunicorn
- - -w 4
- - app:app
- volumes:
- - ./API:/var/www
- mongo:
- image: mongo
- restart: always
- ports:
- - 27017:27017
- volumes:
- - mongo:/data/db
- environment:
- MONGO_INITDB_ROOT_USERNAME: root
- MONGO_INITDB_ROOT_PASSWORD: lsdev
- volumes:
- mongo:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement