43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
version: '3'
|
|
|
|
services:
|
|
|
|
myonion:
|
|
image: goldy/tor-hidden-service
|
|
restart: always
|
|
volumes:
|
|
- ./hidden-services:/var/lib/tor/hidden_service # .onion address and private key will be located in ./hidden_service
|
|
environment:
|
|
- SERVICE1_TOR_SERVICE_HOSTS=80:mywww:8080
|
|
- SERVICE1_TOR_SERVICE_VERSION=3
|
|
|
|
mywww:
|
|
image: bunkerity/bunkerized-nginx
|
|
restart: always
|
|
# bunkerized-nginx runs as an unprivileged user with UID/GID 101
|
|
# don't forget to edit the permissions of the files and folders accordingly
|
|
volumes:
|
|
- ./web-files:/www:ro
|
|
environment:
|
|
- BLOCK_TOR_EXIT_NODE=no
|
|
- BLOCK_ABUSERS=no
|
|
- BLOCK_PROXIES=no
|
|
- USE_BAD_BEHAVIOR=no
|
|
- USE_DNSBL=no
|
|
- USE_WHITELIST_IP=no
|
|
- USE_WHITELIST_REVERSE=no
|
|
- USE_BLACKLIST_IP=no
|
|
- USE_BLACKLIST_REVERSE=no
|
|
- USE_ANTIBOT=captcha
|
|
- USE_CLIENT_CACHE=yes
|
|
- USE_GZIP=yes
|
|
- REMOTE_PHP=myphp
|
|
- REMOTE_PHP_PATH=/app
|
|
|
|
myphp:
|
|
image: php:fpm
|
|
restart: always
|
|
volumes:
|
|
- ./web-files:/app
|
|
|