From fcb8a9b17a6f23c816dca8c2b31c7eae7a1a7d93 Mon Sep 17 00:00:00 2001 From: virusdefender Date: Wed, 6 Dec 2017 11:11:42 +0800 Subject: [PATCH] fix url name --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 826bf16..fb72924 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -39,7 +39,7 @@ services: - $PWD/data/judge_server:/log environment: - service_url=http://judge-server:8080 - - service_discovery_url=http://oj-backend:8000/api/judge_server_heartbeat/ + - backend_url=http://oj-backend:8000/api/judge_server_heartbeat/ - TOKEN=CHANGE_THIS oj-backend: @@ -58,4 +58,4 @@ services: - JUDGE_SERVER_TOKEN=CHANGE_THIS ports: - "0.0.0.0:80:8000" - - "0.0.0.0:443:1443" \ No newline at end of file + - "0.0.0.0:443:1443"