The hub-postgres
service needs some variables do get running, copy the template env file and edit it:
git clone [email protected]:tidybee/tidybee-scripts.git
cd tidybee-scripts/compose
cp .env.template .env
Then, choose one of the 3 solutions below to run the containers.
The default compose file will pull the images from GitHub Container Registry and run them. Use the following command to do so:
# tidybee-scripts/compose
docker compose <COMMAND> [SERVICE...]
Build, run and stop containers using the following command:
# tidybee-scripts/compose
docker compose -f docker-compose-git.yml <COMMAND> [SERVICE...]
Clone the repositories:
# agent
git clone [email protected]:tidybee/tidybee-agent.git
# hub
git clone [email protected]:tidybee/tidybee-hub.git
# frontend
git clone [email protected]:tidybee/tidybee-frontend.git
# scripts
git clone [email protected]:tidybee/tidybee-scripts.git
ln -s tidybee-scripts/compose/docker-compose-local.yml .
Now you should have this file structure:
.
├── docker-compose-local.yml -> tidybee-scripts/compose/docker-compose-local.yml
├── tidybee-agent/
├── tidybee-frontend/
├── tidybee-hub/
└── tidybee-scripts/
Build, run and stop containers:
docker compose -f docker-compose-local.yml --env-file tidybee-scripts/compose/.env <COMMAND> [SERVICE...]