-
Notifications
You must be signed in to change notification settings - Fork 103
Deploy Center Docker Container
OliverShen edited this page Apr 17, 2023
·
17 revisions
Here is the deploy approach for Hydra Lab Center docker image.
If you would like to overlap some env variables to enable/disable some submodules of Hydra Lab, you may include the key-value pairs in an env file. Format of the content should be as followed:
KEY1=VALUE1
KEY2=VALUE2
See the application.yml for available env variables (in form of ${XXX_YYY}).
Notice:
- If the connected agent is started within docker, the env variable LOCAL_STORAGE_ENDPOINT (by default http://localhost:9886) for Center should be changed to "host.docker.internal" or the IP (public/private based on usage) of Center instance.
- If the connected agent is started using jar package, no env variable is required to be set.
docker run -p 9886:9886 [--env-file "${PATH_TO_YOUR_ENV_FILE}"] ghcr.io/microsoft/hydra-lab-center:latest
Notice:
When Center docker image is using local storage (STORAGE_TYPE=LOCAL), port mapping in the docker run command should be "-p 9886:9886", otherwise agent will visit an illegal storage server.
For connection from Agent to Center:
- If you are using Agent docker, see: Agent docker startup
- If you are using Agent.jar, see: Agent jar package startup
Introduction:
User manual:
- Deploy Center Docker Container
- Deploy Agent Docker Container
- Test agent setup
- One-Line-Installer Agent Setup
- [DEPRECATED]Deploy a test agent service
- Trigger a test task run in the Hydra Lab test service
- Create an Appium UI Test Automation Project
- Create test build and run XCTest
- Test Task Customization
- FAQ
Developer guideline:
- Start Services with Default Configuration
- Dev Environment Setup
- Technical Design
- Integrate Hydra Lab test center with Microsoft AAD authentication service
- Upgrade the test agent service from center service
News: