You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gristlabs_grist-core/docker-compose-examples/grist-traefik-basic-auth
Spoffy dfb816888e
Adds docker compose examples (#1113)
1 month ago
..
configs Adds docker compose examples (#1113) 1 month ago
README.md Adds docker compose examples (#1113) 1 month ago
docker-compose.yml Adds docker compose examples (#1113) 1 month ago

README.md

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.