This repository contains PowerShell scripts to automate the deployment of Smartphone Test Farm (STF) services using Docker on a Windows environment.
This repository contains a set of modular PowerShell scripts designed to automate the deployment of Smartphone Test Farm (STF) services using Docker on a Windows environment. Each script serves a specific purpose, making it easy to maintain, update, and reuse.
Additionally, this project now supports deployment using Docker Compose, offering a simpler workflow.
deploy_stf/
├── config/
│ └── nginx.conf.template
├── modules/
│ ├── Install-Chocolatey.ps1
│ ├── Install-Tool.ps1
│ ├── Prepare-Environment.ps1
│ └── Run-Docker-Container.ps1
├── nginx/
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── nginx.conf
├── storage-temp/
│ ├── Dockerfile
├── deploy_stf.ps1
└── docker-compose.yml
Changes:
docker-compose.yml
(New): This file defines the Docker services and configurations for your STF deployment.The core functionalities described previously for deploy_stf.ps1
and its helper scripts remain the same.
Prerequisites:
Steps:
deploy_stf
directory.docker-compose.yml
file for details). You can do this by creating a .env
file in the project root directory and defining variables there.docker-compose up -d
This command will build and start the Docker containers defined in docker-compose.yml
, automating the deployment process.
Benefits:
docker-compose.yml
.The deploy_stf.ps1
script is still available for advanced configurations or customization. Refer to the existing instructions and parameters for detailed usage.