docs: Docker image versions (#3019)

* fix: Add the need to change image tag

* Minor tidying

* Advice to use specific tag, not latest

* Advice to use specific tag, not latest

* Revert mistake

* Reword

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>

---------

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
boc-the-git
2024-01-21 21:34:34 +11:00
committed by GitHub
parent b51cd5d1c2
commit 5d08647196
4 changed files with 8 additions and 5 deletions

View File

@@ -9,14 +9,14 @@ PostgreSQL might be considered if you need to support many concurrent users. In
version: "3.7"
services:
mealie:
image: ghcr.io/mealie-recipes/mealie:latest
image: ghcr.io/mealie-recipes/mealie:v1.0.0 # (3)
container_name: mealie
ports:
- "9925:9000"
- "9925:9000" # (1)
deploy:
resources:
limits:
memory: 1000M # (1)
memory: 1000M # (2)
depends_on:
- postgres
volumes:
@@ -60,3 +60,4 @@ volumes:
1. To access the mealie interface you only need to expose port 9000 on the mealie container. Here we expose port 9925 on the host, but feel free to change this to any port you like.
2. Setting an explicit memory limit is recommended. Python can pre-allocate larger amounts of memory than is necessary if you have a machine with a lot of RAM. This can cause the container to idle at a high memory usage. Setting a memory limit will improve idle performance.
3. Whilst a 'latest' tag is available, the Mealie team advises specifying a specific version tag and consciously updating to newer versions when you have time to read the release notes and ensure you follow any manual actions required (which should be rare).