Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 1.52 KB

README.md

File metadata and controls

69 lines (48 loc) · 1.52 KB

tidybee-scripts

compose

PostgreSQL database setup

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.

Run containers from GHCR (recommended)

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...]

Run containers from git repositories

Build, run and stop containers using the following command:

# tidybee-scripts/compose
docker compose -f docker-compose-git.yml <COMMAND> [SERVICE...]

Run tidybee containers (debug)

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...]