Sign inSign up

pix3lman/app-destiny

By pix3lman

•Updated 10 months ago

Modern self-hosted platform for distributing iOS (IPA) and Android (APK) apps.

Image
Integration & delivery
Developer tools
1

1.8K

pix3lman/app-destiny repository overview

⁠App Destiny

A modern, high-performance platform for distributing iOS (IPA) and Android (APK) applications.

⁠🚀 Quick Start (Zero Config)

The image is pre-configured to run out-of-the-box with a local database and authentication. No external services (like Supabase) are required to get started.

  1. Create a docker-compose.yml:
version: '3.8'

services:
  app:
    image: pix3lman/app-destiny:latest
    ports:
      - "3000:3000"
    environment:
      - DATABASE_URL=postgres://postgres:password@db:5432/app_distro
      # STORAGE_MODE=local is default if Supabase vars are missing
      - ADMIN_SECRET=change-this-to-a-secure-secret
    depends_on:
      - db
    volumes:
      - app_uploads:/app/public/uploads

  db:
    image: postgres:15-alpine
    restart: always
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=password
      - POSTGRES_DB=app_distro
    ports:
      - "5432:5432"
    volumes:
      - db_data:/var/lib/postgresql/data

volumes:
  db_data:
  app_uploads:
  1. Run the application:
docker-compose up -d
⁠Option 2: Single Command (CLI)

If you prefer to run the containers without a compose file, use this command:

docker network create app-destiny-network 2>/dev/null || true && \
docker run -d --name app-destiny-db --network app-destiny-network --restart always -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=password -e POSTGRES_DB=app_distro -v db_data:/var/lib/postgresql/data postgres:15-alpine && \
docker run -d --name app-destiny --network app-destiny-network -p 3000:3000 -e DATABASE_URL=postgres://postgres:password@app-destiny-db:5432/app_distro -v app_uploads:/app/public/uploads pix3lman/app-destiny:latest

Visit http://localhost:3000⁠.


⁠🔑 Initial Access

Note: These credentials are part of the local database initialization. You can change them later or set ADMIN_EMAIL and ADMIN_PASSWORD environment variables before the first run.


⁠☁️ Supabase Configuration (Optional)

To switch from Local Mode to Supabase (for managed Auth and Storage), simply add your keys to the environment variables:

environment:
  - NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
  - NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
  - DATABASE_URL=postgres://postgres:... (your supabase connection string)

The application will automatically detect these variables and switch authentication and storage providers.


⁠⚙️ Environment Variables

VariableDescriptionDefault
DATABASE_URLConnection string for PostgreSQLRequired
ADMIN_SECRETSecret key for signing session tokensfallback-secret...
STORAGE_MODEFile storage backend (local or s3)local
ADMIN_EMAILDefault admin email for setup[email protected]
ADMIN_PASSWORDDefault admin password for setupadmin

Tag summary

Content type

Image

Digest

sha256:0f265ddb2…

Size

79.9 MB

Last updated

10 months ago

docker pull pix3lman/app-destiny