mirror of
https://github.com/cmehay/docker-tor-hidden-service.git
synced 2025-04-11 17:42:04 +00:00
This has two purposes: 1) The 'torify' wrapper is already included, and it needs torsocks. 2) Use torsocks for health checking your onion service like this: healthcheck: test: ["CMD-SHELL", "torsocks nc -z <onion address> <port> || exit 1"] interval: 2m
12 lines
224 B
YAML
12 lines
224 B
YAML
# docker version 3 builder
|
|
|
|
version: "3.1"
|
|
|
|
services:
|
|
tor:
|
|
image: goldy/tor-hidden-service:$CUR_TAG
|
|
build:
|
|
context: .
|
|
args:
|
|
tor_version: $TOR_VERSION
|
|
torsocks_version: $TORSOCKS_VERSION
|