Environment Variables

.env constants and variables

Aquarelle Frontend App

Configure in /aquarelle/.env file:

DIRECTUS_URL=http://localhost:8055
APP_URL=http://localhost:3000
NEXT_PUBLIC_ASSETS=http://localhost:8055/assets/
DIRECTUS_TOKEN=your_directus_token_key
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_public_key
STRIPE_SECRET_KEY=your_stripe_secret_key
STRIPE_WEBHOOK_SECRET=your_stripe_webhook_secret
NEXT_PUBLIC_MAILCHIMP_PUBLIC_KEY=your_mailchimp_public_key
NEXT_PUBLIC_MAILCHIMP_ACTION_URL=https://mailchimp.com/

Aquarelle Admin Dashboard

Configure in /aquarelle/directus/docker-compose.yml or /aquarelle/directus/.env file:

    environment:
      SECRET: "replace-with-secure-random-value"
      ADMIN_EMAIL: "admin@example.com"
      ADMIN_PASSWORD: "d1r3ctu5"
      DB_CLIENT: "sqlite3"
      DB_FILENAME: "/directus/database/data.db"
      WEBSOCKETS_ENABLED: "true"
      EMAIL_FROM: "no-reply@your-email.com"
      EMAIL_TRANSPORT: "smtp"
      EMAIL_SMTP_HOST: "your-smtp-host.com"
      EMAIL_SMTP_PORT: 587
      EMAIL_SMTP_SECURE: true
      EMAIL_SMTP_USER: "your-smtp-user"
      EMAIL_SMTP_PASSWORD: "your-smtp-password"

All available options you can on official directus documentation

Last updated