Skip to content

Commit

Permalink
Remove old Service classes
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter committed Feb 3, 2021
1 parent 9c6e958 commit 2d8e9a3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 308 deletions.
9 changes: 2 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ services:
context: server
dockerfile: Dockerfile
container_name: person-name-annotator
healthcheck:
test: curl --fail http://localhost:8080/api/v1/healthCheck
interval: 10s
timeout: 5s
retries: 5
networks:
- nlp-sandbox-internal

Expand All @@ -20,8 +15,8 @@ services:
container_name: person-name-annotator-nginx
restart: always
environment:
- SERVER_HOST=person-name-annotator
- SERVER_PORT=8080
- TOOL_HOST=person-name-annotator
- TOOL_PORT=8080
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/templates:/etc/nginx/templates:ro
Expand Down
2 changes: 1 addition & 1 deletion nginx/templates/http.conf.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
http {
upstream tool {
server ${SERVER_HOST}:${SERVER_PORT};
server ${TOOL_HOST}:${TOOL_PORT};
keepalive 15;
}

Expand Down
24 changes: 0 additions & 24 deletions server/openapi_server/controllers/service_controller.py

This file was deleted.

276 changes: 0 additions & 276 deletions server/openapi_server/models/service.py

This file was deleted.

0 comments on commit 2d8e9a3

Please sign in to comment.