Installation (self-host)
Set up on PostgreSQL with Docker Compose.
MyWay consists of a Next.js app + a PostgreSQL database. The fastest path is bringing it up with Docker Compose.
Requirements
- Docker & Docker Compose
- A server with at least 1 GB RAM
- A domain (optional, recommended for HTTPS)
Steps
- 1Download the license package and extract it on your server.
- 2Fill the .env file based on the example (below).
- 3Start with docker compose up -d.
- 4Run the database migrations.
- 5Open in a browser and create the first admin account.
# .env (example)
DATABASE_URL=postgres://myway:secret@db:5432/myway
REPO_DRIVER=postgres
NODE_ENV=production
SESSION_SECRET=change-me-at-least-32-characters-long
PUBLIC_URL=https://app.example.com
# start
docker compose up -d
docker compose exec app pnpm db:migrateIn production SESSION_SECRET must be at least 32 characters and REPO_DRIVER=postgres is required; otherwise the app halts on boot for safety.