This commit is contained in:
parent
4a1aae9fa4
commit
f165b3e3bb
1 changed files with 54 additions and 0 deletions
54
README.md
54
README.md
|
@ -22,3 +22,57 @@ services:
|
|||
- 80:8080
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
<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:
|
||||
- /here/your/path/ewp/app:/app/config
|
||||
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>
|
||||
|
|
Loading…
Reference in a new issue