Self-hosted Blog
This repository has been archived on 2026-03-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
Lukas Gysin 86e2f5e594
feat: Public Blog
Signed-off-by: Lukas Gysin <L.Gysin@pm.me>
2026-02-25 23:22:02 +01:00
.forgejo Initial commit 2026-02-25 22:19:28 +01:00
.env.example feat: Public Blog 2026-02-25 23:22:02 +01:00
.gitignore Initial commit 2026-02-25 22:19:28 +01:00
CODE_OF_CONDUCT Initial commit 2026-02-25 22:19:28 +01:00
docker-compose.yaml feat: Public Blog 2026-02-25 23:22:02 +01:00
LICENSE Initial commit 2026-02-25 22:19:28 +01:00
README.md Initial commit 2026-02-25 22:19:28 +01:00

blog

Self-hosted Blog

Getting Started

These instructions will give you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Requirements for the software and other tools to build, test and push

Supported IDEs

You can use the IDE of your choice to continue developing the project. However, the following IDEs are recommended and officially supported:

Secret Management

Sensitive data is stored in a .env file. An empty example of the structure can be found in .env.example

Development

This repository is a full functional docker compose application stack. Therefore, you can use the terminal to deploy a development instance on your local machine.

docker-compose up -d

Deployment Preperation

For the first deployment, some preconditions have to be met:

  • Make sure the public network exists in docker
  • Make sure the $PATH directory on the server exists

Deployment

For the deployment, the docker compose stack must be copied to the server and started

ssh $USER@$SERVER "docker compose -f $PATH/docker-compose.yaml down"
scp .env $USER@$SERVER:/$PATH/
scp docker-compose.yaml $USER@$SERVER:/$PATH/
ssh $USER@$SERVER "docker compose -f $PATH/docker-compose.yaml up -d"

The $USER variable holds the username of the user on the server.
The $SERVER variable holds the IP-address or the domain of the server.
The $PATH variable holds the absolut path to the application folder on the server.

Authors

License

This project is licensed under the MIT License

Acknowledgments