You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
version: '3.4'services:
redis: &redisimage: docker.io/redis:7-alpinecommand:
- sh
- -c # this is to evaluate the $REDIS_PASSWORD from the env
- redis-server --appendonly yes --requirepass $$REDIS_PASSWORD ## $$ because of docker-composeenv_file: redis.envvolumes:
- redis-data:/dataredis-cache:
<<: *redisenv_file: redis-cache.envvolumes:
- redis-cache-data:/datavolumes:
redis-cache-data:
driver: localredis-data:
driver: local
Error
$
Error:
0: File `docker-compose.yaml` is not a valid compose file
1: services.redis-cache: unknown attribute "<<", extensions must start with 'x-' (see https://docs.docker.com/compose/compose-file/#extension) at line 15 column 5
Location:
src/cli/compose.rs:61
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Version
podlet 0.2.4
The text was updated successfully, but these errors were encountered:
Hello,
It would be good to add YAML anchors support.
Example
Error
Version
podlet 0.2.4
The text was updated successfully, but these errors were encountered: