This repository contains the common tech infrastructure services for local development.
The repository is made up of the following folders:
tech-infra-stack/ ## Root directory for technology infrastructure stack
- docker-compose/ ## Contains Docker Compose orchestration files for local deployment
- database/ ## Contains Docker Compose files applicable for specific database
- queue/ ## Contains Docker Compose files applicable for specific queue
- scheduler/ ## Contains Docker Compose files applicable for specific scheduler
Please create any new content in the appropriate folders.
Local deployment can be performed via the use of docker-compose. Setup files are located in /docker-compose
and consist of the following:
/docker-compose/<infra-type>/<service-name>
- docker-compose-x86.yml ## docker-compose file for x86 users.
All services in the docker-compose files have been categorized into the following profiles:
To run the databases services, use the following command:
Add into docker-compose command below to select cache with database or database only
--profile cache_database
--profile database
[x86 machines]
docker-compose -f docker-compose/database/<service-name>/docker-compose-x86.yml up -d
To run the queue services, use the following command:
[x86 machines]
docker-compose -f docker-compose/queue/<service-name>/docker-compose-x86.yml up -d
To run the scheduler services, use the following command:
[x86 machines]
docker-compose -f docker-compose/scheduler/<service-name>/docker-compose-x86.yml up -d