Skip to content
Permalink
main
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
version: "3.9"
services:
onionserver:
image: onionserver
build:
context: .
depends_on:
- nginx
restart: unless-stopped
environment:
SERVICE_PORT: "nginx:80"
volumes:
# this is where the public/private keys for your onion address are kept.
# back it up and keep it safe!
- "./data/onionserver:/var/lib/tor/service"
nginx:
# this can be whatever service you want. NGINX is the example here.
image: nginx:1.21.6-alpine
restart: unless-stopped
volumes:
- "./data/nginx:/etc/nginx/conf.d:ro"
- "./data/www:/etc/www:ro"