创建judger的docker-compose.ml文件

This commit is contained in:
virusdefender
2016-02-20 14:35:50 +08:00
parent 5dde03fe87
commit b7dfa0980a
2 changed files with 10 additions and 4 deletions

View File

@@ -18,12 +18,8 @@ oj_web_server:
links:
- redis:redis
- mysql:mysql
depends_on:
- redis
- mysql
ports:
- "127.0.0.1:8080:8080"
environment:
- oj_env=server
- smtp_password={YOUR_PASSWORD}
- MYSQL_ENV_MYSQL_USER=root