add web-bitdeals

This commit is contained in:
2025-05-08 12:16:23 +03:00
parent 02e65bdc40
commit ebef104401
5 changed files with 16 additions and 22 deletions

View File

@@ -23,13 +23,12 @@ Here are some example snippets to help you get started creating a container at l
version: "3"
services:
bitdeals-module:
image: bitdeals/apostol-dm
image: registry.bitdeals.org/apostol-dm
environment:
- DM_TESTNET=true
- DM_BITCOIN=<address>
- DM_FEE=<0.1%>
- DM_FORWEB=http://127.0.0.1
- DM_WEBAUTH=false
- |
DM_PGP_SEC=
-----BEGIN PGP PRIVATE KEY BLOCK-----
@@ -54,13 +53,11 @@ docker run -d \
-e DM_BITCOIN=<address> \
-e DM_FEE=0.1% \
-e DM_PGP_SEC="$(gpg2 --armor --export-secret-key Account_URL)" \
-e DM_LC_ALL=ru_RU.UTF-8 \
-e DM_WEB_LANG=ru \
-p 127.0.0.1:4999:4999 \
-p 127.0.0.1:80:80 \
-p 127.0.0.1:443:443 \
-v /home/dm/:/home/dm/ \
bitdeals/apostol-dm
registry.bitdeals.org/apostol-dm
```
# Parameters
@@ -82,6 +79,7 @@ Container images are configured using parameters passed at runtime.
|-e DM_PGP_SEC=|Variable with ASCII armored PGP user secret key. Will be created if empty (with Account_URL in the key details).|
|-e DM_TESTNET=|Enable bitcoin testnet mode. Default: `false`|
|-e DM_TZ=|Set timezone for dm. Default: `Etc/UTC`|
|-e DM_WEBAUTH=|Enable Web app authorization on bitdeals.org for account info access. Default: `false`|
|-e DM_WEB_LANG=|Set interface language for dm WebUI. Default: `en`|
|-e DM_PRIVATEDASH=|Enable Web app authorization on bitdeals.org for account private dashboard access. Default: `false`|
|-e DM_PRIVACY_MODE=|Block currency rates from coinbase.com. Default: `false`|
|-e DM_WEB_LANG=|Set interface language for dm WebUI: `ru` or `en`. Default: `en`|