Files
vulhub/uwsgi/unacc/docker-compose.yml
Aaron 63285f61aa
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
first commit
2025-09-06 16:08:15 +08:00

18 lines
411 B
YAML

version: '2'
services:
nginx:
image: nginx:1-alpine
volumes:
- ./files/default.conf:/etc/nginx/conf.d/default.conf
depends_on:
- web
ports:
- "8080:80"
web:
image: vulhub/uwsgi-python:2.0.17
command: uwsgi --socket 0.0.0.0:8000 --chdir /usr/src --module server --uid www-data --gid www-data -p 2
volumes:
- ./files/server.py:/usr/src/server.py
ports:
- "8000:8000"