FahamLah

Commands

docker compose up -d

docker compose up -d [service]

Risk: Safe

What it does

Starts every service in compose.yaml.

When to use it

To start the whole app with one command.

Example

$ docker compose up -d

Build, pull and start it all in the background.

$ docker compose --profile cache up -d

Also start services in the cache profile.

$ docker compose up -d --scale api=2

Run two api containers.