Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 2.1 KB

ServerConfiguration.md

File metadata and controls

59 lines (43 loc) · 2.1 KB

Server Configuration

Exoframe stores its config in ~/.exoframe/server.config.yml.
Currently it contains the following settings:

# whether debug mode is enabled, default "false"
debug: false

# whether to enable letsencrypt, default "false"
letsencrypt: false

# email used for letsencrypt
letsencryptEmail: your@email.com

# whether to apply gzip compression, default "true"
compress: true

# base top-level domain to use for deployments without domains specified, default "false"
# used as postfix, e.g. if you specify ".example.com" (dot is auto-prepended if not present)
# all your deployments will be autodeployed as "deployment-id.example.com"
baseDomain: false

# CORS support; can be "true" ("*" header) or object with "origin" property, default "false"
cors: false

# Traefik image to be used; set to "false" to disable traefik management, default "traefik:latest"
traefikImage: 'traefik:latest'

# Traefik container name, default "exoframe-traefik"
traefikName: 'exoframe-traefik'

# Additional Traefik start args, default []
traefikArgs: []

# Network used by traefik to connect services to, default "exoframe"
exoframeNetwork: 'exoframe'

# server image update channel; can be "stable" or "nightly", default "stable"
updateChannel: 'stable'

# path to folder with authorized_keys, default "~/.ssh"
publicKeysPath: '/path/to/your/public/keys'

# whether Exoframe server whould be running in swarm mode, default "false"
swarm: false

# plugins config
plugins:
  # list of plugins that has to be installed and loaded by exoframe-server on startup
  install: ['exoframe-plugin-swarm']
  # specific plugin config (see plugins docs to know what property they use)
  swarm:
    enabled: true

Warning: Most changes to config are applied immediately. With exception of Letsencrypt config and Plugins config.
If you are enabling letsencrypt after Traefik instance has been started, you'll need to remove Traefik and then restart Exoframe server for changes to take effect.
If you are adding plugins after server has been started, you'll need to restart the server so that it can install and load newly added plugins.