mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-24 03:54:21 +01:00
Docker: Add wallet daemon and docker-compose.yml (#321)
* add wallet dockerfile * add wallet to docker compose * add dockerfile * remove expose
This commit is contained in:
@@ -12,5 +12,3 @@ WORKDIR /app
|
||||
COPY . .
|
||||
RUN poetry config virtualenvs.create false
|
||||
RUN poetry install --no-dev --no-root
|
||||
EXPOSE 3338
|
||||
CMD ["poetry", "run", "mint", "--port", "3338", "--host", "0.0.0.0"]
|
||||
|
||||
23
docker-compose.yaml
Normal file
23
docker-compose.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: "3"
|
||||
services:
|
||||
mint:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: mint
|
||||
ports:
|
||||
- "3338:3338"
|
||||
command: ["poetry", "run", "mint", "--port", "3338", "--host", "0.0.0.0"]
|
||||
wallet:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: wallet
|
||||
ports:
|
||||
- "4448:4448"
|
||||
depends_on:
|
||||
- mint
|
||||
environment:
|
||||
- MINT_URL=http://mint:3338
|
||||
- API_HOST=0.0.0.0
|
||||
command: ["poetry", "run", "cashu", "-d"]
|
||||
Reference in New Issue
Block a user