OnlineJudge/dockerfiles/oj_web_server/docker-compose-nginx.example.yml
2016-09-17 09:57:33 +08:00

10 lines
294 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/:/home/OnlineJudge
links:
- oj_web_server:oj_web_server
ports:
- "0.0.0.0:80:80"