mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-04-05 20:01:32 +00:00
Demonstrates that array/long syntax volumes with ${VAR:-default} fallback
values cause "Convert to file" to fail with a command injection error.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
9 lines
199 B
YAML
9 lines
199 B
YAML
services:
|
|
web:
|
|
image: nginx:alpine
|
|
volumes:
|
|
- type: bind
|
|
source: '${CONFIG_FILE:-./default-config.yaml}'
|
|
target: /etc/nginx/conf.d/custom.conf
|
|
read_only: true
|