23 lines
635 B
Markdown
23 lines
635 B
Markdown
# Architecture
|
|
/app
|
|
> containts all of the files to build and run the docker container.Docker containter runs the application
|
|
/content
|
|
> contains all of the publicly accessible files
|
|
templates
|
|
notes
|
|
index
|
|
...
|
|
compose # compose file to mount content to app
|
|
build.sh #optional file to build the app
|
|
.env # enviroment var files for location of existing public directory. will depricate
|
|
|
|
|
|
# Dockerfile
|
|
> builds the flask application and sets it to run.
|
|
- runs the site
|
|
|
|
# app
|
|
- clones the public repo (from env var url)
|
|
- finds public notes and moves to content vault
|
|
- exposes webhook to update vault and public notes
|