Skip to content

Commit

Permalink
docker-compose: add teuthology-volume and t-api service
Browse files Browse the repository at this point in the history
And share pid namespaces btw teuthology
and teuthology_api containers.

Signed-off-by: Vallari Agrawal <[email protected]>
  • Loading branch information
VallariAg committed Jun 12, 2024
1 parent 2c4be63 commit 3245297
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ services:
links:
- paddles
- beanstalk
volumes:
- teuthology-volume:/teuthology/:rw
environment:
SSH_PRIVKEY:
SSH_PRIVKEY_FILE:
Expand All @@ -90,3 +92,32 @@ services:
environment:
SSH_PUBKEY:
platform: linux/amd64
teuthology_api:
# image: TODO: deploy tapi's image to quay and add here
# (by default use image instead of build context which is only for dev mode)
build:
context: ../../../teuthology-api
env_file: ../../../teuthology-api/.env
ports:
- 8082:8082
environment:
TEUTHOLOGY_API_SERVER_HOST: 0.0.0.0
TEUTHOLOGY_API_SERVER_PORT: 8082
PADDLES_URL: http://paddles:8080
DEPLOYMENT: development
volumes:
- teuthology-volume:/teuthology/:rw
- ../../../teuthology-api:/teuthology_api/:rw
depends_on:
- teuthology
- paddles
links:
- teuthology
- paddles
- beanstalk
healthcheck:
test: [ "CMD", "curl", "-f", "http://0.0.0.0:8082" ]
pid: service:teuthology

volumes:
teuthology-volume:

0 comments on commit 3245297

Please sign in to comment.