by @akellbl4 * create infrastructure for site * wip * fix docker build and add readme * add docker-compose as a build and a run method * rename compose file yaml -> yml * add `src` as volume for watching changes * update configs * update README * add padding at the end of the pages * move demo settings in config * fetch latest release from github * update docs navigation - add sections - redirect from root of the section to first doc - nice styles for navigation - add brand colors * cache github data from first load * add redirects and fix link to docs * fix docs nav styles * add installation page placeholder * fix demo * add 404 * add dark theme, add theme switcher, remove unused files * fix dark theme on main page * fix dark theme background * fix node version * change installation docs * add note block * minor fixes * add code highlighting styles * fixes * fixes * mobile navigation, fix code highlighting colors * fix dev server * fix fetching error * fix path to edit Co-authored-by: Pavel Mineev <pavel@mineev.me> Co-authored-by: Dmitry Verkhoturov <paskal.07@gmail.com>
28 lines
400 B
YAML
28 lines
400 B
YAML
version: '2'
|
|
services:
|
|
build:
|
|
image: remark42-site
|
|
build: .
|
|
|
|
volumes:
|
|
- ./build:/site/build
|
|
|
|
server:
|
|
image: remark42-site
|
|
build: .
|
|
command: yarn dev
|
|
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: '10m'
|
|
max-file: '5'
|
|
|
|
ports:
|
|
- '3001:3001'
|
|
- '8080:8080'
|
|
|
|
volumes:
|
|
- ./src:/site/src
|
|
- ./build:/site/build
|