Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (32 sloc) 626 Bytes
version: "3.7"
services:
ingress:
image: nginx:1.17.6
ports:
- "127.0.0.1:8080:80"
volumes:
- ./flask_app/nginx-uwsgi.conf:/etc/nginx/conf.d/default.conf
depends_on:
- flask_app
flask_app:
init: true
build:
context: ./flask_app
dockerfile: Dockerfile-gevent-uwsgi
environment:
- PORT_APP=3000
- PORT_API=4000
- WORKERS=1
- ASYNC_CORES=2000
- PROTOCOL=uwsgi
expose:
- "3000"
depends_on:
- slow_api
slow_api:
init: true
build: ./slow_api
environment:
- PORT=4000
expose:
- "4000"
You can’t perform that action at this time.