Dockerfile

This commit is contained in:
2022-03-10 07:33:15 -06:00
parent 74c79d676e
commit 33a3846cd8
2 changed files with 22 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
# Intro
Deal Module - the BitDeals daemon that provides a special interfaces for creating and modifying user accounts and deals.
Deal Module (dm) - the BitDeals daemon that provides a special interfaces for creating and modifying user accounts and deals.
# Running DM docker container
@@ -28,6 +28,7 @@ services:
- PUID=1000
- PGID=1000
- TZ=UTC
- TESTNET=1 #optional
- BITCOIN=<address> #optional
- FEE=<0.1%> #optional
- PGP_PUB=<key> #optional
@@ -49,6 +50,7 @@ services:
```sh
docker run -d \
--name=bitdeals-dm \
-e TESTNET=1 `#optional` \
-e BITCOIN=<address> `#optional` \
-e FEE=<0.1%> `#optional` \
-e PGP_PUB=$(gpg2 --armor --export Account_URL) `#optional` \
@@ -72,6 +74,7 @@ Container images are configured using parameters passed at runtime.
|-p 80|WebUI port TCP|
|-p 4977|Module API port TCP [(API documentation)](https://bitbucket.org/bitdeals/apostol-dm)|
|-e ACCOUNT_URL=|User site address to provide a deal service. On first run the initialization script will create and save a new PGP keys with this Account_URL in key details.|
|-e TESTNET=|Enable bitcoin testnet mode.|
|-e BITCOIN=|User account bitcoin address.|
|-e FEE=|User fee for created deals.|
|-e PGP_PUB=|Variable with ASCII armored PGP public key.|