Results for “service”
Small, practical examples. Search by task or narrow things down below.
Collect multiple values through a multi provider
Collect multiple values through a multi provider with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Create a dependency with a provider factory
Create a dependency with a provider factory with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Handle an optional dependency
Handle an optional dependency with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Mount a local input directory with long syntax
Docker / Compose: Long mount syntax makes the bind type and read-only intent explicit.
Docker / Compose✓ Tested
Override an env-file value explicitly
Docker / Compose: The environment section takes precedence over env_file.
Docker / Compose✓ Tested
Override the image entrypoint in Compose
Docker / Compose: entrypoint and command combine as executable and arguments.
Docker / Compose✓ Tested
Pass dollar expressions through Compose
Docker / Compose: Double dollar signs defer expansion to the container shell.
Docker / Compose✓ Tested
Provide a configuration value with a token
Provide a configuration value with a token with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Read a secret from a mounted file
Docker / Compose: Compose secrets make a file available under /run/secrets.
Docker / Compose✓ Tested
Set no-new-privileges in Compose
Docker / Compose: security_opt configures the process privilege restriction.
Docker / Compose✓ Tested
Supply a default for an unset Compose variable
Docker / Compose: The default interpolation form supplies a value when the variable is absent or empty.
Docker / Compose✓ Tested
Supply a non-secret configuration file
Docker / Compose: A Compose config mounts a declared file into the service.
Docker / Compose✓ Tested