Add back old example but mark as deprecated

This commit is contained in:
Siyu 2018-12-18 10:44:10 +01:00 committed by GitHub
parent 915f740182
commit c52e3c834e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -2352,6 +2352,11 @@ secrets:
my_second_secret:
external: true
name: redis_secret
// Deprecated syntax for compose file version 3.5-
my_second_secret:
external:
name: redis_secret
```
You still need to [grant access to the secrets](#secrets) to each service in the