Commit Graph

27 Commits

Author SHA1 Message Date
dni ⚡
3fa4135a12
non interactive install 2023-03-09 16:01:52 +01:00
dni ⚡
a8f534cd2e
postgres-client version 14... 2023-03-09 15:10:50 +01:00
dni ⚡
161cb9cfbc
remove build not needed, create the right datadir, add postgres-client for pg_dump backup functionality 2023-03-09 13:48:44 +01:00
dni ⚡
0dffb2c1a0
moving build file into tools, keep rootdir clean (#1434)
* moving build file into tools, keep rootdir clean

* formatting

* make flake happy
2023-02-01 17:19:56 +01:00
dni ⚡
5a0b217d63
TEST: LNbits as fundingsource in regtest (#1402)
* lnbits funding source

* add create_fake_user to workflow

* change quotes in workflow ymal

* not use interactive docker exec

* update tools/create_fake_admin to not use lnbits imports

* formatting

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2023-01-26 10:43:12 +01:00
callebtc
375f5d9f25 docker: update to python 3.10 2022-12-20 11:07:26 +01:00
dni ⚡
74eece78de merge from master 2022-11-24 14:35:32 +01:00
bitkarrot
fcc787ed35 update Dockerfile dir to lnbits/data 2022-11-16 15:34:35 -08:00
Bitkarrot
0ae11df52f
Docker file fix for missing directory
Currently Docker will error and exit because `data` directory is not created. 

This commit adds automatic `data` directory creation to Dockerfile so that the following docker command will not error. 

```
docker run --detach --publish 5000:5000 --name lnbits-legend --volume ${PWD}/.env:/app/.env --volume ${PWD}/data/:/app/data lnbits-legend
```
2022-11-10 22:22:17 -08:00
dni ⚡
d2c216d6db fix regtests, admin settings prints 2022-10-05 13:04:38 +02:00
Lounès Ksouri
dc11205128
feat(docker): dynamic port and host using environment variables (#1006) 2022-09-23 22:11:54 +03:00
dni ⚡
9041c75eb6 fix docker deploy 2022-09-20 12:22:17 +02:00
dni ⚡
48a57513f4
create new Dockerfile using poetry (#806)
* create new Dockerfile using poetry

* dont use unsure docker hub image

* add example env variable to docker command

* remove copy of lnbits, and order of commands

* add build.py for static files

* add compiled resources to docker ignore, so we don't accidently add it to image

* use generic python

* CMD with arguments

Co-authored-by: dni <dni.khr@gmail.com>
2022-08-04 08:05:51 +02:00
calle
9c19b61e4a
Mega-merge 3: CLN update client lib with descriptionhash support (WIP) (#792)
* CoreLightningWallet
2022-08-01 16:41:50 +02:00
calle
f24d593f00
Fix docker staticfiles (#811)
* Fix staticfiles for docker install

* docker build instructions

* all tests python 3.9

Co-authored-by: cryptoteun <73664763+cryptoteun@users.noreply.github.com>
2022-07-30 17:09:14 +02:00
Daniel Krahofer
b1d6c82466
fix dockerfile and add docker ignore (#714)
* fix dockerfile and add docker ignore

* fixup comment in dockerignore

Co-authored-by: dni <dni.khr@gmail.com>
2022-07-07 18:30:21 +02:00
Lounès Ksouri
31bcb32e2d
feat: dynamic port and host using environment variables 2022-02-22 08:41:57 +01:00
Lounès Ksouri
a132387fa8
fix: add build deps for arm 2022-02-22 08:41:19 +01:00
Charles Hill
f1c068a115
Fix Dockerfile 2021-11-12 02:02:13 -05:00
Luke Childs
32a3dbb772 python3 => python 2021-02-19 13:36:41 -03:00
Luke Childs
02a8b86168 Run Dockerfile as non-root user 2021-02-19 13:36:41 -03:00
Lounès Ksouri
4500078773
Add new Dockerfile 2021-02-18 22:20:55 +01:00
fiatjaf
e408febf97 hypercorn -k trio 2020-10-04 23:09:11 -03:00
fiatjaf
42c6620a07 quart run settings and hypercorn on docker/Procfile. 2020-09-14 23:28:14 -03:00
Eneko Illarramendi
6b33f150c6 fix: revert default python version to 3.7 in Pipfile, closes #85
But tests will be run on both 3.7 and 3.8 as we want to support >= 3.7
2020-09-04 21:19:06 +02:00
Eneko Illarramendi
a651f747ac chore: remove gunicorn and gevent from minimum requirements
It is now up to the user to install these (or other) for production deployment.
More info: https://flask.palletsprojects.com/en/1.1.x/tutorial/deploy/#run-with-a-production-server
2020-09-03 19:38:01 +02:00
Eneko Illarramendi
d917feeb02 feat: prepare for deploying to Dokku 2020-04-21 23:13:37 +02:00