* chore: add markdown lint to ignore no h1 heading in markdown files * chore: update example settings * chore: update example development env file * fix: remove fixed 100% height on container * feat: add individual post page * chore: update README.md * feat: add links to headings in post and add copy button to code blocks * tests: add tests for get post async method * tests: remove heading for test blogs * fix: only add links to headings in markdown body * tests: add tests for post page * tests: add test to check for blog content * docs: add jsdoc comments * chore: fix incorrect env variable format in example * fix: don't render anything if blog post is null * fix: don't render anything until posts are fetched * chore: add docker compose file for prod
13 lines
274 B
YAML
13 lines
274 B
YAML
version: '3.8'
|
|
name: blog-production
|
|
services:
|
|
blog:
|
|
build:
|
|
target: production-stage
|
|
context: ./src/Blog/
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- 8080
|
|
restart: always
|
|
environment:
|
|
- FilePostServiceOptions__PostsDirectory=wwwroot/posts |