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"