Update docker override example.

This commit is contained in:
febux 2026-08-21 23:24:08 +03:00
parent 562a9533c7
commit d4e449e3b9
2 changed files with 5 additions and 2 deletions

View file

@ -10,6 +10,9 @@ repos:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
- id: check-yaml - 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-toml
- id: check-added-large-files - id: check-added-large-files
- id: check-merge-conflict - id: check-merge-conflict

View file

@ -8,9 +8,9 @@
services: services:
nginx: nginx:
ports: ports: !override
- "127.0.0.1:8081:80" - "127.0.0.1:8081:80"
volumes: volumes: !override
# Same target path as the base file's TLS template bind — overrides it, # Same target path as the base file's TLS template bind — overrides it,
# so only ONE template is rendered (both define `upstream api`). # 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 - ./deploy/nginx/templates/contract-check-http.conf.template:/etc/nginx/templates/contract-check.conf.template:ro