Skip to content

How to use nostrdvm to run your own data vending machine

License

Notifications You must be signed in to change notification settings

notepunk/amyamygo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running DVMs: AmyAmyGo

Installation (with Docker Compose)

  1. Ensure Docker and Docker Compose are installed on your system.
  2. Navigate to the project directory.
  3. Create .env from the example provided by us .env_example
cp .env_example .env

and set the necessary environmental variables:

LNBITS_ADMIN_KEY = ""
LNBITS_WALLET_ID = ""
LNBITS_HOST = "https://demo.lnbits.com/"
NOSTDRESS_DOMAIN = "nostrdvm.com"
  1. You can also change the name of the container in the docker-compose.yml file.
services:  # Define the services
    dvm:  # Name of the service
        container_name: amyamygo
  1. Run the following command:
# in foreground
docker compose up --build

# in background
docker compose up --build -d
  1. For updating the relay, run the following command:
git pull
docker compose build --no-cache

# in foreground
docker compose up

# in background
docker compose up -d

This will build the Docker image and start the amyamygo service as defined in the docker-compose.yml file.

License

This project is licensed under the MIT License.