Skill: Manage Infrastructure
Visual Studio Code Tasks
- To Start: Run the VS Code task:
"Start Docker Compose".- This builds and starts containers in detached mode using
./docker/docker-compose.yaml.
- This builds and starts containers in detached mode using
- To Stop: Run the VS Code task:
"Stop Docker Compose". - To Reset (Wipe Data): Run the VS Code task:
"Stop & Remove Volumes".
Docker Compose
From the project root directory:
To Start: Run the Docker Compose command:
docker compose -f ./docker/docker-compose.yaml up -dTo Stop: Run the Docker Compose command:
docker compose -f ./docker/docker-compose.yaml downTo Reset (Wipe Data): Run the Docker Compose command:
docker compose -f ./docker/docker-compose.yaml down -v
Verification
Make sure the arch-stats container started successfully before starting the Backend or Frontend servers:
docker compose -f ./docker/docker-compose.yaml ps --allThis means:
- arch-stats-db-1 is healthy
- arch-stats-migrations-1 exited successfully (exit code 0)
Logs
To View Logs: Run the Docker Compose command:
docker compose -f ./docker/docker-compose.yaml logs # or docker compose -f ./docker/docker-compose.yaml logs db # or docker compose -f ./docker/docker-compose.yaml logs migrations
Converted and distributed by TomeVault — claim your Tome and manage your conversions.