You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matthew Huntington 6456a9a482
gitignore
1 month ago
.claude adding .claude 1 month ago
api switching to node from alpine 1 month ago
mysql correct version of mysql 1 month ago
.gitignore gitignore 1 month ago
README.md readme update 1 month ago
docker-compose.yml setting up api container with port/basic app 1 month ago

README.md

Home Server Multi-Container

Building Images

Build all images:

docker compose build

Build all images without cache:

docker compose build --no-cache

Build a specific service:

docker compose build mysql
docker compose build api

Starting Containers

Start all containers:

docker compose up

Start all containers in detached mode (background):

docker compose up -d

Build images and start containers:

docker compose up --build

Stopping Containers

Stop all containers:

docker compose down

Viewing Logs

View logs for all containers:

docker compose logs

View logs for a specific container:

docker compose logs mysql
docker compose logs api

Follow logs in real-time:

docker compose logs -f

Check Container Status

docker compose ps

Cleaning Up Images

Remove dangling images (images tagged as <none>):

docker image prune

Remove all unused images:

docker image prune -a

Preview what would be removed:

docker image prune --dry-run