add wallets profile to allow exclusion on attached wallet containers

This commit is contained in:
keyan 2024-07-09 11:37:55 -05:00
parent e0f91ace41
commit f05b6fab84
3 changed files with 5 additions and 5 deletions

View File

@ -104,7 +104,7 @@ COMMANDS
#### Running specific services #### Running specific services
By default all services will be run. If you want to exclude specific services from running, set `COMPOSE_PROFILES` to use one or more of `minimal|images|search|payments|email|capture`. To only run mininal services without images, search, or payments: By default all services will be run. If you want to exclude specific services from running, set `COMPOSE_PROFILES` to use one or more of `minimal|images|search|payments|wallets|email|capture`. To only run mininal services without images, search, email, wallets, or payments:
```sh ```sh
$ COMPOSE_PROFILES=minimal ./sndev start $ COMPOSE_PROFILES=minimal ./sndev start

View File

@ -373,7 +373,7 @@ services:
build: build:
context: ./docker/litd context: ./docker/litd
profiles: profiles:
- payments - wallets
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
<<: *healthcheck <<: *healthcheck
@ -479,7 +479,7 @@ services:
context: ./docker/nwc context: ./docker/nwc
container_name: nwc container_name: nwc
profiles: profiles:
- payments - wallets
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
stacker_lnd: stacker_lnd:
@ -509,7 +509,7 @@ services:
image: lnbits/lnbits:0.12.5 image: lnbits/lnbits:0.12.5
container_name: lnbits container_name: lnbits
profiles: profiles:
- payments - wallets
restart: unless-stopped restart: unless-stopped
ports: ports:
- "${LNBITS_WEB_PORT}:5000" - "${LNBITS_WEB_PORT}:5000"

2
sndev
View File

@ -10,7 +10,7 @@ docker__compose() {
fi fi
if [ -z "$COMPOSE_PROFILES" ]; then if [ -z "$COMPOSE_PROFILES" ]; then
COMPOSE_PROFILES="images,search,payments,email,capture" COMPOSE_PROFILES="images,search,payments,wallets,email,capture"
fi fi
ENV_LOCAL= ENV_LOCAL=