Skip to content

wackywobblewave/simple-dockerfile-for-tor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

simple dockerfile for tor

Dockerfile

Example of a possible Docker Compose with it:

services:
  tor:
    build: .
    volumes:
       - ./tor:/var/lib/tor/ 
       - ./torrc:/etc/tor/torrc
    restart: unless-stopped

  caddy:
    image: caddy:latest
    restart: unless-stopped
    volumes:
      - ./caddy/Caddyfile:/etc/caddy/Caddyfile
      - ./caddy/site:/srv
      - ./caddy/caddy_data:/data
      - ./caddy/caddy_config:/config

An example of the torrc

 HiddenServiceDir /var/lib/tor/example
 HiddenServicePort 80 caddy:80

About

simple docker file for tor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published