Commit Graph

33 Commits

Author SHA1 Message Date
michael1011
1bee84d419
chore: optimize Dockerfile (#2576)
By doing a multi-stage Docker build, the size
of the final image is reduced by ~45%.
2024-07-10 14:22:44 +02:00
dni ⚡
a00292544f
fix: lib secp256k fails building (#2572)
Co-authored-by: michael1011 <me@michael1011.at>
2024-07-09 15:51:40 +02:00
dni ⚡
f60122c64a
feat: update docker image to debian 12 (bookwork) (#2486)
postgres client install was failing for bullseye, i think its time
2024-05-09 18:26:45 +02:00
dni ⚡
7b559991c7
fix: docker image invoice listener were not stopping (#2278)
because it could not resolve localhost
2024-02-16 15:24:50 +02:00
dni ⚡
f7cbe74d77
Update poetry to 1.5.1 (#1804)
* update poetry to 1.5.1 inside workflows

* update lock file to poetry 1.5.1

* test run 1

* test run 2

* run 3

* try different sortorder

* cli should use --no-root

here  are the refereneces.
https://python-poetry.org/docs/basic-usage/#installing-dependencies-only
https://pip.pypa.io/en/stable/topics/local-project-installs/#regular-installs

* cache migrations aswell

* test flake

* optimize docker image for regtest building

* playng

* remove test run 1

* remove run 2

* remove run 3

* run 4

* run 6

* run 7

* run 8

* run 9

* run 10
2023-07-11 12:46:40 +02:00
dni ⚡
c48e2329c5
TEST: fix tests for real wallets (#1761)
* fix tests for real wallets
* change realinvoice provider to lnd-1
* use lnd-3 for tests
* fix eclair tests
* use bullseye in dockerimage
2023-06-15 12:36:28 +02:00
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