Skip to content

Local storage backend

Use the local filesystem as the storage backend for Golink. Golink persists the data in the local filesystem. This is the default storage backend.

Not recommended for production

The local storage backend is not recommended for production. It is recommended to use a storage backend that can be shared across multiple instances of the Golink server.

Configuration

The default configuration for the local storage backend is:

storage:
  type: local
  local:
    path: ./

Set configuration of the local storage backend

storage:
  type: local
  local:
    path: /data/golink
--storage.type=local
--storage.local.path=/data/golink
export GOLINK_STORAGE_TYPE=local
export GOLINK_STORAGE_LOCAL_PATH=/data/golink