18 Commits
Author SHA1 Message Date
NoiceHax a40b418038 fix(2fa): gate two-factor auth when the encryption key is missing
TWO_FACTOR_ENCRYPTION_KEY has no default, so instances upgrading to 3.3
without setting it hit an unhandled throw from encryptSecret: the setup
dialog only reported "Something went wrong", and where 2FA was required
the blocking dialog made the whole app unusable. The status endpoint now
reports 2FA as not required while the key is missing or invalid, and
setup initiation returns 503 with a two-factor-error-not-configured code
that the setup dialog renders as a readable message. Also documents the
variable in the README and the example compose file.

Closes #4443
2026-08-13 22:39:31 +05:30
Mike Cao 592f7c0ae7 Added check for REDIS_URL. Closes #3677. 2025-11-10 21:08:55 -08:00
Mike Cao dd6556968c Updated image tag. 2025-11-06 23:58:12 -08:00
Joseph 195f8d945b ♻️ refactor(docker): remove versioning in docker compose file as it's deprecated
This will remove the warning message `the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion`.

Reference: https://docs.docker.com/reference/compose-file/version-and-name/#version-top-level-element-obsolete
2025-02-21 15:04:48 +05:30
Bruno Parmentier 995458d035 Use init when running in Docker to avoid zombie process
When the `start-docker` script is executed, some process is not properly
cleaned up and ends up in a zombie state.

Using the `init` flag when launching the container runs an init process
inside the container that will forward signals to node and reap
processes.

Fixes: #1428
2024-08-22 14:26:01 +02:00
vndroid e1cd8eac83 Update Health Check
- Node container support healthcheck.
2023-11-27 16:25:53 +08:00
Mike Cao c167ccbbfb Merge pull request #2027 from theshamuel/patch-2
delete a redundant volume mapping
2023-05-12 18:57:08 -07:00
theshamuel e773451679 delete a redundant volume mapping
I'd like to propose to delete from docker-compose a redundant volume mapping. As I see that `sql` directory had been deleted and now umami-app is responsible for migration.
2023-05-05 23:57:58 +01:00
theshamuel 98e58581e2 add health-check for db container
I'd like to propose a minor changes that can bring more stability in launching the umami server with docker-compose by adding a certain healthcheck for db container and a certain condition for depends_on directive for umami-app container
2023-05-05 23:53:16 +01:00
Francis Cao 01559c4c63 update docker-compose to 15-alpine 2023-04-17 10:10:05 -07:00
Mike Cao 7bbed0e12b Changed HASH_SALT to APP_SECRET. 2022-12-27 21:38:23 -08:00
Orhun Parmaksız 900e3e5734 Update the links for current repository 2022-07-21 14:31:09 +02:00
Philip Bergqvist c5d775ce72 Consider adding restart policy to docker-compose.yml
It might be a good idea to add a restart policy to the default `docker-compose.yml` file.

Either: `restart: always` or `restart: unless-stopped`

Useful in case Umami crashes for some reason (see #721)

This is also useful in case the server restarts, so Umami starts up again after rebooting.

https://docs.docker.com/config/containers/start-containers-automatically/
2021-07-10 17:05:01 +08:00
Anders 413f64fed6 Update docker-compose.yml
postgres was updated to version 13 which is not supported in current configuration, stay at version 12 until resolved
2020-09-25 07:25:06 +02:00
Hugo Müller-Downing 7dd5d97279 Use GitHub Container Registry for Docker images
GHCR allows images to be pulled anonymously
2020-09-06 15:48:46 +10:00
Hugo Müller-Downing 73ea516a7a Add DATABASE_TYPE environment variable
Determines which Prisma schema to use
2020-08-23 10:46:33 +10:00
Cobin Bluth d1c7f2162b fix docker-compose 2020-08-22 12:00:35 +02:00
David Birks d15d23539e Add Dockerfile and docker-compose.yml 2020-08-19 00:25:05 -04:00