docs: syntax highlighting

This commit is contained in:
Roman Siverov 2026-06-04 14:09:21 +03:00
parent 5464eaa826
commit 60a694ce7e

View file

@ -28,7 +28,7 @@
- Docker - Docker
1. Выполним команды: 1. Выполним команды:
``` ```bash
docker run --rm -v ./.ssl:/ssl --entrypoint /bin/sh alpine/openssl -c "/ssl/gen-ca.sh && /ssl/gen-cert.sh localhost" docker run --rm -v ./.ssl:/ssl --entrypoint /bin/sh alpine/openssl -c "/ssl/gen-ca.sh && /ssl/gen-cert.sh localhost"
docker compose build docker compose build
docker compose up -d docker compose up -d
@ -38,12 +38,12 @@
## Использование ## Использование
Получить MOTD: Получить MOTD:
``` ```bash
curl -k https://localhost/motd curl -k https://localhost/motd
``` ```
Установить MOTD: Установить MOTD:
``` ```bash
curl -k -X POST https://localhost/motd \ curl -k -X POST https://localhost/motd \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{"message":"Hello from MOTD app"}' -d '{"message":"Hello from MOTD app"}'