OnlineJudge/dockerfiles/oj_web_server/docker-compose-nginx.example.yml
2016-09-17 01:43:05 +08:00

10 lines
298 B
YAML

nginx:
image: nginx
volumes:
- /home/OnlineJudge/dockerfiles/oj_web_server/oj.conf:/etc/nginx/conf.d/default.conf
- /home/upload:/upload
- /home/OnlineJudge/static/release:/static
links:
- oj_web_server:oj_web_server
ports:
- "0.0.0.0:80:80"