mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
dfb816888e
This adds three example docker-compose files: - A basic Grist instance backed by sqlite, with no additional services. - A Grist instance that uses Postgres, Redis and MinIO. - A Grist instance that uses OIDC authentication and traefik. These are intended to be customised by self-hosters for their own needs. All examples should work without any additional configuration.
31 lines
630 B
YAML
31 lines
630 B
YAML
providers:
|
|
# Enables reading docker label config values
|
|
docker: {}
|
|
|
|
entrypoints:
|
|
# Defines a secure entrypoint using TLS encryption
|
|
websecure:
|
|
address: ":443"
|
|
http:
|
|
tls: true
|
|
# Defines an insecure entrypoint that redirects to the secure one.
|
|
web:
|
|
address: ":80"
|
|
http:
|
|
# Redirects HTTP to HTTPS
|
|
redirections:
|
|
entrypoint:
|
|
to: "websecure"
|
|
scheme: "https"
|
|
|
|
# Enables automatic certificate renewal
|
|
certificatesResolvers:
|
|
letsencrypt:
|
|
acme:
|
|
email: "my_email@example.com"
|
|
storage: /acme/acme.json
|
|
tlschallenge: true
|
|
|
|
api:
|
|
insecure: true
|