Skip to content

Commit

Permalink
infra: remove webserver and fix healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Nov 4, 2024
1 parent 6a70f14 commit 529fffc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 39 deletions.
5 changes: 0 additions & 5 deletions infrastructure/docker-compose.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,3 @@ services:
build:
context: ../
dockerfile: infrastructure/docker/Dockerfile
webserver:
image: ${DOCKER_IMAGE_WEBSERVER}:${DOCKER_TAG}
build:
context: ../
dockerfile: infrastructure/docker/Dockerfile.webserver
11 changes: 1 addition & 10 deletions infrastructure/docker-compose.run.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
services:

webserver:
image: ${DOCKER_IMAGE_WEBSERVER}:${DOCKER_TAG}
depends_on:
conferences:
condition: service_started
push_notifications:
condition: service_started
ports:
- 8001:80

conferences:
image: ${DOCKER_IMAGE}:${DOCKER_TAG}
command: uvicorn main:app --host 0.0.0.0 --reload # sleep 9999999999
Expand All @@ -20,6 +10,7 @@ services:
volumes:
- opencon-logs:/var/log/opencon
- .aws.credentials:/root/.aws/credentials
healthcheck:
test: curl --fail http://localhost:8000/openapi.json || exit 1
interval: 30s
retries: 3
Expand Down
24 changes: 0 additions & 24 deletions infrastructure/docker/Dockerfile.webserver

This file was deleted.

0 comments on commit 529fffc

Please sign in to comment.