service: container_name: nginx_agent image: nginx_agent:1.0.0 ports: - "5000:5000" environment: - UWSGI_PROCESSES=4 - UWSGI_ENABLE_THREADS=true - UWSGI_HTTP_PROCESSES=2 - UWSGI_HTTP_KEEPALIVE=false - UWSGI_HARAKIRI=20 - UWSGI_PY_OPTIMIZE=0 - OAUTH_HOST=121.43.55.7:8888 - NGINX_HOST=192.168.1.37:80 privileged: true restart: always