Skip to content

Instantly share code, notes, and snippets.

@wesort
Created December 12, 2019 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wesort/eb1e0d80a3a1959ab680fdb90f66b0b2 to your computer and use it in GitHub Desktop.
Save wesort/eb1e0d80a3a1959ab680fdb90f66b0b2 to your computer and use it in GitHub Desktop.
Environment file for a production website running Statamic v2
APP_ENV=production
SITE_URL=https://example.co.uk
STACHE_ALWAYS_UPDATE=true
STATIC_CACHING_ENABLED=false
DEBUG=false
DEBUG_BAR=false
@wesort
Copy link
Author

wesort commented Dec 12, 2019

Place a root of repo, rename to .env and ensure it is listed in .gitignore.

Set SITE_URL

More info: docs.statamic.com/environments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment