tornado-onion/docker-compose.yml
2020-05-24 02:47:42 +03:00

19 lines
418 B
YAML

version: '2'
services:
web:
build: .
restart: always
tor:
image: strm/tor
restart: always
depends_on: [ web ]
environment:
LISTEN_PORT: 80
REDIRECT: web:80
# Generate a new key with
# docker run --rm --entrypoint shallot strm/tor-hiddenservice-nginx ^foo
PRIVATE_KEY: |
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----