mylloon.fr/README.md

92 lines
2 KiB
Markdown
Raw Normal View History

2023-02-02 11:06:59 +01:00
# EWP
2023-02-09 09:19:05 +01:00
Easy WebPage generator
2023-02-09 09:25:03 +01:00
[![dependency status](https://deps.rs/repo/gitea/git.mylloon.fr/Anri/mylloon.fr/status.svg)](https://deps.rs/repo/gitea/git.mylloon.fr/Anri/mylloon.fr)
2023-02-16 22:21:11 +01:00
[![status-badge](https://ci.mylloon.fr/api/badges/Anri/mylloon.fr/status.svg)](https://ci.mylloon.fr/Anri/mylloon.fr)
2023-02-09 09:19:05 +01:00
2023-02-09 09:25:03 +01:00
See [issues](https://git.mylloon.fr/Anri/mylloon.fr/issues)
2023-02-16 20:06:07 +01:00
## Use Docker Compose
```yaml
version: "3.9"
services:
ewp:
2023-02-16 21:14:06 +01:00
image: git.mylloon.fr/anri/mylloon.fr:latest
2023-02-16 20:06:07 +01:00
container_name: EWP
2023-02-16 22:04:53 +01:00
volumes:
2023-04-19 14:34:21 +02:00
- /here/your/path/config:/app/config
- /here/your/path/data:/app/data
2023-02-16 20:06:07 +01:00
ports:
- 80:8080
restart: unless-stopped
```
2023-04-09 20:03:41 +02:00
<details>
<summary>Do you want to make the site available on Tor as well?</summary>
```yaml
version: "3.9"
services:
tor:
image: goldy/tor-hidden-service:latest
container_name: Website_tor
network_mode: bridge
links:
- ewp
environment:
EWP_TOR_SERVICE_HOSTS: "80:ewp:8080"
EWP_TOR_SERVICE_VERSION: "3"
volumes:
- tor-keys:/var/lib/tor/hidden_service/
secrets:
- source: ewp
target: ewp
mode: 0400
restart: unless-stopped
ewp:
image: git.mylloon.fr/anri/mylloon.fr:latest
container_name: Website
network_mode: bridge
hostname: ewp
volumes:
2023-04-19 14:34:21 +02:00
- /here/your/path/ewp/app/config:/app/config
- /here/your/path/ewp/app/data:/app/data
2023-04-09 20:03:41 +02:00
ports:
- 99:8080
restart: unless-stopped
volumes:
tor-keys:
driver: local
# Use https://github.com/cathugger/mkp224o to generate a key
secrets:
ewp:
file: /here/your/path/ewp/hidden_service/hs_ed25519_secret_key
```
You can tell the Tor Browser that you are offering an `onion` link by specifying
your address in the `config.toml` file.
```toml
onion = "http://youraddress.onion/"
```
</details>
2023-04-28 12:51:47 +02:00
2023-04-28 12:52:25 +02:00
## Example of [`config.toml`](./config/config.toml)
2023-04-28 12:51:47 +02:00
```toml
2023-10-13 14:03:28 +02:00
mail = "your.mail at host.com"
2023-04-28 12:51:47 +02:00
lang = "lang"
onion = "http://youraddress.onion/"
app_name = "Nickname"
name = "Firstname"
fullname = "Fullname"
```