tornado-onion/docker-compose.yml
2020-06-05 10:30:20 +03:00

26 lines
588 B
YAML

version: '2'
services:
web:
image: tornadocash/ui
restart: always
watchtower:
image: v2tec/watchtower
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 60 web
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-----