Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
24 lines (22 sloc)
608 Bytes
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: "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" |