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.

884 B

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