01What Alexandrie Is and Who It's For
If you only want a single-user notes app, check whether you need a multi-tenant stack at all. Alexandrie runs four containers, which is reasonable for a team wiki and heavier than a plain-files notes tool.
02The Four Services in the Stack
Per the docs, don't expose MySQL or RustFS directly in production. Put a reverse proxy such as Nginx, Traefik or Caddy in front and terminate HTTPS there.
03Quick Start: Running It Locally
1# 1. Download the example env file and the compose file2curl -O https://raw.githubusercontent.com/Smaug6739/Alexandrie/main/.env.example3curl -O https://raw.githubusercontent.com/Smaug6739/Alexandrie/main/docker-compose.yml45# 2. Create your own env file6cp .env.example .env78# 3. Start the stack9docker compose up -d1011# Then open http://localhost:8200 and register the first account04Configuring It for a Real Domain
1FRONTEND_URL=https://notes.example.com2API_URL=https://api.notes.example.com3CDN_URL=https://cdn.notes.example.com4CDN_ENDPOINT=/alexandrie/56COOKIE_DOMAIN=example.com7ALLOW_UNSECURE=false8JWT_SECRET=replace-with-a-long-random-string9ADMIN_ACCOUNTS=11011MYSQL_DATABASE=alexandrie12MYSQL_USER=alexandrie13MYSQL_PASSWORD=replace-with-a-strong-password14MYSQL_ROOT_PASSWORD=replace-with-another-strong-password1516RUSTFS_ACCESS_KEY=replace-with-an-access-key17RUSTFS_SECRET_KEY=replace-with-a-secret-key18MINIO_BUCKET=alexandrieRemember that the browser fetches files straight from the object store URL. Your reverse proxy needs a route for CDN_URL as well, not just for the frontend and the API.
05OIDC Login and Locking Down Sign-Ups
1OIDC_1_CONFIG_URL: ${OIDC_1_CONFIG_URL}2OIDC_1_CLIENT_ID: ${OIDC_1_CLIENT_ID}3OIDC_1_CLIENT_SECRET: ${OIDC_1_CLIENT_SECRET}4OIDC_1_PROVIDER_NAME: ${OIDC_1_PROVIDER_NAME}06Storage, Backups and Keeping It Updated
Never set MINIO_INSECURE_TLS=true on a production instance. If you use a private CA, mount its certificate into the backend and set MINIO_CA_PATH instead.