Update docker override example.
This commit is contained in:
parent
562a9533c7
commit
d4e449e3b9
2 changed files with 5 additions and 2 deletions
|
|
@ -10,6 +10,9 @@ repos:
|
|||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
# Compose override uses the !override extension tag (valid only for
|
||||
# Docker Compose >= 2.24, unknown to plain YAML parsers).
|
||||
exclude: ^deploy/vps/docker-compose\.override\.example\.yml$
|
||||
- id: check-toml
|
||||
- id: check-added-large-files
|
||||
- id: check-merge-conflict
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@
|
|||
|
||||
services:
|
||||
nginx:
|
||||
ports:
|
||||
ports: !override
|
||||
- "127.0.0.1:8081:80"
|
||||
volumes:
|
||||
volumes: !override
|
||||
# Same target path as the base file's TLS template bind — overrides it,
|
||||
# so only ONE template is rendered (both define `upstream api`).
|
||||
- ./deploy/nginx/templates/contract-check-http.conf.template:/etc/nginx/templates/contract-check.conf.template:ro
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue