diff --git a/AGENTS.md b/AGENTS.md index 6700c88..0b94ccb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -27,6 +27,8 @@ MUST: - Inte använda `:latest`. - Hålla volymer snäva (`/DATA/AppData/$AppID/...`). - Vid förslag/byte av `image:` måste imagen verifieras online (manifest/tag finns i registry) innan merge. +- Använd App/_template som grund om inget annat anges. +- deply.resources.reservations ska sättas till något passande. Detta kommer även parsas av ZimaOS webui SHOULD: - `security_opt: ["no-new-privileges:true"]` diff --git a/Apps/_template/docker-compose.yaml b/Apps/_template/docker-compose.yaml index 9b4e2a2..93b9940 100644 --- a/Apps/_template/docker-compose.yaml +++ b/Apps/_template/docker-compose.yaml @@ -2,6 +2,11 @@ name: sample-app services: app: + # Setting this will allow the Zima webui to display the field "REQUIRE MEMORY" + deploy: + resources: + reservations: + memory: 64M image: joafri/sample-app-app:main container_name: sample-app restart: unless-stopped diff --git a/dist/phirna-appstore.zip b/dist/phirna-appstore.zip index 05e65ed..56c81dc 100644 Binary files a/dist/phirna-appstore.zip and b/dist/phirna-appstore.zip differ