8000 GitHub - Snipdroid/server: Tracking app/package/activity names for icon pack.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Snipdroid/server

Repository files navigation

API

Host your instance

To run your own instance of AppTracker, you'll need:

  • Docker and Docker Compose installed
  • AWS S3-compatible storage (like Cloudflare R2)

Environment Variables

Set the following environment variables or modify them in docker-compose.yml:

LOG_LEVEL=debug
DATABASE_HOST=db
DATABASE_NAME=vapor_database
DATABASE_USERNAME=vapor_username
DATABASE_PASSWORD=vapor_password
JWT_SECRET=your_secret_here
AWS_ACCESS_KEY_ID=your_access_key
AWS_SECRET_ACCESS_KEY=your_secret_key
AWS_ENDPOINT=your_s3_endpoint

Running the Service

  1. Build the Docker images:
docker compose build
  1. Start the PostgreSQL database:
docker compose up db -d
  1. Run database migrations:
docker compose run migrate
  1. Start the application:
docker compose up app -d

The API will be available at http://localhost:8080.

Managing the Database

  • To revert migrations:
docker compose run revert
  • To stop all services:
docker compose down

Add -v flag to also remove the database volume:

docker compose down -v

About

Tracking app/package/activity names for icon pack.

Resources

Stars

Watchers

Forks

Packages

 
 
 
0