This commit is contained in:
parent
6d2f85f981
commit
ac09290b93
4 changed files with 28 additions and 47 deletions
|
@ -40,11 +40,11 @@ RUN deluser node
|
|||
# We want to run disseminate as a non-root user.
|
||||
ARG UID=1000
|
||||
ARG GID=1000
|
||||
RUN addgroup -g $GID disseminate && \
|
||||
adduser --home /app --uid $UID -G disseminate --disabled-password disseminate
|
||||
RUN addgroup -g $GID jabe && \
|
||||
adduser --home /app --uid $UID -G jabe --disabled-password jabe
|
||||
|
||||
# Give our non-root user access to /app
|
||||
RUN chown -R disseminate:disseminate /app
|
||||
RUN chown -R jabe:jabe /app
|
||||
|
||||
# Installing bash, mostly for debugging.
|
||||
RUN apk add bash
|
||||
|
@ -53,7 +53,7 @@ RUN apk add bash
|
|||
COPY --chown=$UID:$GID --from=compiled /tmp/build/ /app
|
||||
RUN chown -R $UID:$GID /app
|
||||
# Switching to user.
|
||||
USER disseminate
|
||||
USER jabe
|
||||
|
||||
# Installing the dependencies.
|
||||
RUN yarn install --production
|
||||
|
|
59
README.md
59
README.md
|
@ -1,56 +1,37 @@
|
|||
<h1 align="center">Disseminate</h1>
|
||||
<h1 align="center">JABE - Just Another Blogging Engine</h1>
|
||||
<div style="margin:auto;" align="center">
|
||||
<a href="https://www.buymeacoffee.com/hexlocation" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;"></a>
|
||||
<a href="https://ci.iwakura.rip/repos/1/branches/stable" target="_blank">
|
||||
<img src="https://ci.iwakura.rip/api/badges/1/status.svg?branch=stable" alt="status-badge" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
## A short introduction
|
||||
|
||||
## A short introduction.
|
||||
|
||||
*Disseminate* is a blogging platform designed to be lightweight, easy to use & powered by Markdown.
|
||||
_JABE_ is a blogging platform designed to be lightweight, easy to use & powered by Markdown.
|
||||
It stems from an issue i've come across, where no blogging platform i could find was:
|
||||
|
||||
* easy to deploy.
|
||||
* has fast loading times.
|
||||
* simple enough for my -10 iq brain.
|
||||
|
||||
## State of Project
|
||||
|
||||
Disseminate is a work-in-progress, although it is in a more than usable state.
|
||||
|
||||
## Blogs using Disseminate
|
||||
|
||||
* [My own :)](https://penhub.nl)
|
||||
- easy to deploy.
|
||||
- has fast loading times.
|
||||
- simple enough for my -10 iq brain.
|
||||
|
||||
## Opening an issue.
|
||||
|
||||
Registrations are open again! Unfortunately however, i have to manually accept each account.
|
||||
Please contact me via:
|
||||
|
||||
* email (hex@clatter.cc)
|
||||
* matrix (@hex:penhub.nl)
|
||||
* telegram (@inimitableX)
|
||||
* discord (@hex.maybe)
|
||||
## State of Project
|
||||
|
||||
JABE is a work-in-progress, although it is in a more than usable state.
|
||||
|
||||
## Blogs using Disseminate
|
||||
|
||||
- [My own :)](https://blog.iwakura.rip)
|
||||
|
||||
## To-do
|
||||
|
||||
to get your account accepted.
|
||||
|
||||
## To-do
|
||||
|
||||
- [x] [HIGH] Server-side parsing.
|
||||
- [x] [MEDIUM] Docker build system.
|
||||
- [x] [MEDIUM] Proper metadata (title, date etc).
|
||||
- [x] [MEDIUM] Proper metadata (title, date etc).
|
||||
- [x] [MEDIUM] **Automated** prebuilt docker images.
|
||||
- [ ] [LOW] Caching for faster load times.
|
||||
- [ ] [LOW] Interface for blog management (web ui?).
|
||||
- [ ] [LOW] Alternative frontend (solution)? (EJS is pretty primitive!)
|
||||
|
||||
## License
|
||||
|
||||
Disseminate uses the GNU GPLv3 license. The two important points (in my opinion) are as follows:
|
||||
* Any modifications made to disseminate should be open sourced.
|
||||
* Any projects forking or using disseminate source code must be released under the same license (GNU GPLv3).
|
||||
|
||||
Keep in mind that these two points are important **in my opinion**! Everything stated in the GNU GPLv3 license still applies.
|
||||
(Paid) themes do *not* have to be open-sourced.
|
||||
|
||||
## License
|
||||
|
||||
JABE uses the GNU GPLv3 license.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
services:
|
||||
disseminate:
|
||||
jabe:
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
version: '3'
|
||||
version: "3"
|
||||
services:
|
||||
disseminate:
|
||||
jabe:
|
||||
container_name: disseminate
|
||||
image: git.clatter.cc/hexlocation/disseminate
|
||||
image: git.iwakura.rip/hex/jabe:stable-latest
|
||||
volumes:
|
||||
- ./data:/app/data # bind mount is recommended.
|
||||
ports:
|
||||
|
|
Loading…
Reference in a new issue