mirror of
https://github.com/kind-0/nsecbunkerd.git
synced 2026-05-03 07:00:11 +00:00
commit
9d6d64d459
12
README.md
12
README.md
@ -11,11 +11,22 @@ mkdir $HOME/.nsecbunker-config
|
||||
```
|
||||
|
||||
### Start nsecbunkerd
|
||||
|
||||
```
|
||||
docker run -d --name nsecbunkerd -v $HOME/.nsecbunker-config:/app/config pablof7z/nsecbunkerd start --admin <your-npub>
|
||||
docker compose exec nsecbunker npx prisma db push
|
||||
```
|
||||
|
||||
#### Docker-compose
|
||||
Edit `docker-compose.yml` and add your nostrpublic key in `command` directive, like `start --admin npub1nftkhktqglvcsj5n4wetkpzxpy4e5x78wwj9y9p70ar9u5u8wh6qsxmzqs`
|
||||
|
||||
And start the container
|
||||
```
|
||||
docker compose up -d
|
||||
docker exec -i nsecbunkerd npx prisma db push
|
||||
```
|
||||
|
||||
|
||||
### Get the connection string
|
||||
|
||||
```
|
||||
@ -102,4 +113,3 @@ nsecbunker-client sign <target-npub> "hi, I'm signing from the command line with
|
||||
# License
|
||||
|
||||
CC BY-NC-ND 4.0
|
||||
Contact @pablof7z for licensing.
|
||||
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal file
@ -0,0 +1,13 @@
|
||||
version: "3.3"
|
||||
|
||||
services:
|
||||
nsecbunkerd:
|
||||
image: nsecbunkerd
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
pids_limit: 50
|
||||
mem_limit: 256mb
|
||||
memswap_limit: 256mb
|
||||
volumes:
|
||||
- ./nsecbunker-config:/app/config
|
||||
command: start --admin <npub>
|
||||
Loading…
x
Reference in New Issue
Block a user