Skip to content

Commit

Permalink
note interpolation (#95)
Browse files Browse the repository at this point in the history
- fixes #94
  • Loading branch information
casperdcl authored Sep 6, 2024
1 parent 35be62d commit d35acfe
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,17 @@ services:
See [`docker-compose.yml`](https://github.com/wemake-services/caddy-gen/blob/master/example/docker-compose.yml) example file.

> [!NOTE]
> Literal `$` should be doubled (`$$`) to avoid [docker compose interpolation](https://docs.docker.com/reference/compose-file/interpolation), e.g.:
> ```
> labels:
> virtual.host.directives: |
> basic_auth {
> usr $2a$14$aSp4Ch... # will fail
> usr $2a$14$$aSp4Ch... # works
> }
> ```

### Backing up certificates

To backup certificates make a volume:
Expand Down

0 comments on commit d35acfe

Please sign in to comment.