To run your own instance of AppTracker, you'll need:
- Docker and Docker Compose installed
- AWS S3-compatible storage (like Cloudflare R2)
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
- Build the Docker images:
docker compose build
- Start the PostgreSQL database:
docker compose up db -d
- Run database migrations:
docker compose run migrate
- Start the application:
docker compose up app -d
The API will be available at http://localhost:8080
.
- 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