Public | Automated Build

Last pushed: a year ago
Short Description
An experiment...
Full Description


Before you get started

  1. Create a project on Google Cloud
  2. Enable Google Drive API for project
  3. Create credentials
    1. Where will you be calling the API from?
      Web Server (e.g.: node.js, Tomcat)
    2. What data will you be accessing?
      Application data
    3. Are you using Google App Engine or Google Compute Engine?
    4. Create a service account
      1. Service account name
      2. Service account id
      3. Key type: json
    5. Download key


  • THEME: Front-end theme. Default value is default.
  • PORT: Port the server will bind to. Default is 3000.
  • JWT: Path to json file with jwt credentials.
  • JWT_EMAIL: If not using JWT you can specify JWT client email along with
  • JWT_PRIVATE_KEY: String with private key. Used with JWT_EMAIL.
  • ADMINS: Comma separated lists of admin emails or path to json file with
    array of admin emails.
  • NAME: Shared folder name. Default value is the name property from the
    package.json file.

Example using jwt.json file

  "type": "service_account",
  "project_id": "<your project id>",
  "private_key_id": "<your private key id>",
  "private_key": "<your private key>",
  "client_email": "<your client email>",
  "client_id": "<your client id>",
  "auth_uri": "",
  "token_uri": "",
  "auth_provider_x509_cert_url": "",
  "client_x509_cert_url": "<your client email>"

Start gal using Google credentials from JWT json file:

JWT=/path/to/jwt.json npm start

Start gal specifying Google credentials using JWT_EMAIL and
JWT_PRIVATE_KEY env vars: \
JWT_PRIVATE_KEY=`cat /path/to/key.pem` \ \ \
npm start

How it works

  1. On startup, the server...


  • Automatically ensure image resolution, resize, crop...
Docker Pull Command
Source Repository