-
-
Save drichline/ee3c650731cb5bfa9a34136900024a7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2" | |
services: | |
tor: | |
image: goldy/tor-hidden-service | |
container_name: tor | |
restart: always | |
links: | |
- caddy | |
environment: | |
# hello and again will share the same onion v3 address | |
SERVICE1_TOR_SERVICE_HOSTS: 80:host.containers.internal:8085 | |
# Optional as tor version 2 is not supported anymore | |
SERVICE1_TOR_SERVICE_VERSION: '3' | |
# tor v3 address private key base 64 encoded | |
SERVICE1_TOR_SERVICE_KEY: | | |
[REDACTED] | |
TOR_EXTRA_OPTIONS: | | |
HiddenServiceNonAnonymousMode 1 | |
HiddenServiceSingleHopMode 1 | |
caddy: | |
image: caddy:latest | |
ports: | |
- 8085:80 | |
restart: always | |
volumes: | |
- ./Caddyfile:/etc/caddy/Caddyfile | |
- /mnt/mirror:/var/www/html | |
- data:/data | |
- config:/config | |
volumes: | |
data: | |
config: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment