Add about image with tor

This commit is contained in:
Maxim Portnyagin 2022-05-31 17:35:04 +04:00
parent 020620c68a
commit 1eb461ed0e
No known key found for this signature in database
GPG Key ID: 8F27C63672B69287
2 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,7 @@ zeronet-conservancy — это форк/продолжение проекта [Z
#### Создание образа Docker
- создание образа: `docker build -t 0net:conservancy . -f Dockerfile`
- или создрание образа с встроенным tor: `docker build -t 0net:conservancy . -f Dockerfile.integrated_tor`
- и его запуск: `docker run --rm -it -v </path/to/0n/data/directory>:/app/data -p 43110:43110 -p 26552:26552 0net:conservancy`
- /path/to/0n/data/directory - директория, куда будут сохраняться все данные в том числе секретные ключи. Если вы запускаете в боевом режиме, не потеряйте эту папку!
- или вы можете воспользоваться docker-compose: `docker compose up -d 0net` запускает два контейнера раздельно, для 0net и tor сервисов.

View File

@ -92,6 +92,7 @@ Install autoconf and other basic development tools, python3 and pip.
#### Build Docker image
- build 0net image: `docker build -t 0net:conservancy . -f Dockerfile`
- or build 0net image with integrated tor: `docker build -t 0net:conservancy . -f Dockerfile.integrated_tor`
- and run it: `docker run --rm -it -v </path/to/0n/data/directory>:/app/data -p 43110:43110 -p 26552:26552 0net:conservancy`
- /path/to/0n/data/directory - directory, where all data will be saved, including your secret certificates. If you run it with production mode, do not remove this folder!
- or you can run it with docker-compose: `docker compose up -d 0net` up two containers - 0net and tor separately.