Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose: add teuthology-volume and t-api service #1957

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/src:/teuthology_api/src: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:
Loading