gristlabs_grist-core/docker-compose-examples/grist-traefik-basic-auth
Spoffy 70ba28f47e Cleans up compose files
- Removes some whitespace
- Removes unnecessary environment variables
2024-07-30 02:49:53 +01:00
..
configs Makes small improvements to basic-auth setup 2024-07-26 16:44:40 +01:00
docker-compose.yml Cleans up compose files 2024-07-30 02:49:53 +01:00
README.md Adds additional README instructions to compose examples 2024-07-30 02:48:48 +01:00

This is the simplest example of Grist with authentication and HTTPS encryption.

It uses Traefik as:

  • A reverse proxy to manage certificates and provide HTTPS support
  • A basic authentication provided using Traefik's Basic Auth middleware.

This setup, after configuring HTTPS certificates correctly, should be acceptable on the public internet.

However, it doesn't allow a user to sign-out due to the way browsers handle basic authentication.

You may want to try a more secure authentication setup such Authelia, Authentik or traefik-forward-auth. The OIDC auth example demonstrates a setup using Authelia.

See https://support.getgrist.com/self-managed for more information.

How to run this example

This example can be run with docker compose up.

The default login is:

  • Username: test@example.org
  • Password: test

This can be changed in ./configs/traefik-dynamic-config.yaml. Instructions on how to do this are available in that file.