mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-20 09:52:40 +02:00
Updated LNbits Documentation (markdown)
@ -219,7 +219,7 @@ To install using docker you first need to build the docker image as:
|
|||||||
```
|
```
|
||||||
git clone https://github.com/lnbits/lnbits.git
|
git clone https://github.com/lnbits/lnbits.git
|
||||||
cd lnbits
|
cd lnbits
|
||||||
docker build -t lnbits-legend .
|
docker build -t lnbits .
|
||||||
```
|
```
|
||||||
|
|
||||||
You can launch the docker in a different directory, but make sure to copy `.env.example` from lnbits there
|
You can launch the docker in a different directory, but make sure to copy `.env.example` from lnbits there
|
||||||
@ -237,7 +237,7 @@ mkdir data
|
|||||||
Now the image can be run:
|
Now the image can be run:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run --detach --publish 5000:5000 --name lnbits -e "LNBITS_BACKEND_WALLET_CLASS='FakeWallet'" --volume ${PWD}/.env:/app/.env --volume ${PWD}/data/:/app/data lnbits-legend
|
docker run --detach --publish 5000:5000 --name lnbits -e "LNBITS_BACKEND_WALLET_CLASS='FakeWallet'" --volume ${PWD}/.env:/app/.env --volume ${PWD}/data/:/app/data lnbits
|
||||||
```
|
```
|
||||||
|
|
||||||
Finally you can access your lnbits on your machine at port 5000.
|
Finally you can access your lnbits on your machine at port 5000.
|
||||||
@ -930,7 +930,7 @@ Description=LNbits
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# replace with the absolute path of your LNbits installation
|
# replace with the absolute path of your LNbits installation
|
||||||
WorkingDirectory=/home/lnbits/lnbits-legend
|
WorkingDirectory=/home/lnbits/lnbits
|
||||||
# same here. run `which poetry` if you can't find the poetry binary
|
# same here. run `which poetry` if you can't find the poetry binary
|
||||||
ExecStart=/home/lnbits/.local/bin/poetry run lnbits
|
ExecStart=/home/lnbits/.local/bin/poetry run lnbits
|
||||||
# replace with the user that you're running LNbits on
|
# replace with the user that you're running LNbits on
|
||||||
|
Reference in New Issue
Block a user