Commit graph

16 commits

Author SHA1 Message Date
Robert Hajdu
d961c058dd Refactor configuration files for consistency and readability. Update docker-compose and podman-compose to use single quotes for strings. Adjust healthcheck commands to use single quotes. Clean up whitespace in various files, including README and JSON language files, to ensure proper formatting. 2025-08-11 23:01:19 +02: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