|
|
@ -1,5 +1,7 @@
|
|
|
|
# Beaker Blog
|
|
|
|
# Beaker Blog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
![beaker-blog-logo](beaker_blog.png)
|
|
|
|
|
|
|
|
|
|
|
|
This is a simple blog based on Pythons Flask framework.
|
|
|
|
This is a simple blog based on Pythons Flask framework.
|
|
|
|
The basic design is based on LukeSmithXYZs blog.
|
|
|
|
The basic design is based on LukeSmithXYZs blog.
|
|
|
|
However I dislike using a script for adding entries and just want to add entries via plain text files.
|
|
|
|
However I dislike using a script for adding entries and just want to add entries via plain text files.
|
|
|
@ -26,7 +28,7 @@ However I dislike using a script for adding entries and just want to add entries
|
|
|
|
- [x] Config file
|
|
|
|
- [x] Config file
|
|
|
|
- [x] Docker installation
|
|
|
|
- [x] Docker installation
|
|
|
|
- [ ] Enable variables/environment variables
|
|
|
|
- [ ] Enable variables/environment variables
|
|
|
|
- [ ] Logo
|
|
|
|
- [x] Logo
|
|
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
|
@ -57,7 +59,7 @@ The `config.py` can be found in the `src` folder.
|
|
|
|
Set the following volumes with the -v tag.
|
|
|
|
Set the following volumes with the -v tag.
|
|
|
|
|
|
|
|
|
|
|
|
| Volume-Name | Container mount | Description |
|
|
|
|
| Volume-Name | Container mount | Description |
|
|
|
|
|-------------|---------------------------|--------------------------------------------------------------|
|
|
|
|
| ----------- | ------------------------- | ------------------------------------------------------------ |
|
|
|
|
| config-file | /blog/src/config.py | Config file |
|
|
|
|
| config-file | /blog/src/config.py | Config file |
|
|
|
|
| entries | /blog/src/templates/entry | Directory for blog entries |
|
|
|
|
| entries | /blog/src/templates/entry | Directory for blog entries |
|
|
|
|
| css | /blog/src/static/css | (optional) Directory for css files |
|
|
|
|
| css | /blog/src/static/css | (optional) Directory for css files |
|
|
|
@ -68,7 +70,7 @@ Set the following volumes with the -v tag.
|
|
|
|
Set the following ports with the -p tag.
|
|
|
|
Set the following ports with the -p tag.
|
|
|
|
|
|
|
|
|
|
|
|
| Container-Port | Recommended outside port | Protocol | Description |
|
|
|
|
| Container-Port | Recommended outside port | Protocol | Description |
|
|
|
|
|----------------|--------------------------|----------|-------------|
|
|
|
|
| -------------- | ------------------------ | -------- | ----------- |
|
|
|
|
| 5000 | 80 | TCP | HTTP port |
|
|
|
|
| 5000 | 80 | TCP | HTTP port |
|
|
|
|
|
|
|
|
|
|
|
|
#### Example run-command
|
|
|
|
#### Example run-command
|
|
|
|