From b1fb8802b502661cc3948a02e3a97a3b0ae558ab Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Sun, 4 Feb 2024 09:52:22 +0100 Subject: [PATCH] chore(docker-compose): Add tipi version client env --- src/assets/docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/assets/docker-compose.yml b/src/assets/docker-compose.yml index 5eda80c..bb3aa9b 100644 --- a/src/assets/docker-compose.yml +++ b/src/assets/docker-compose.yml @@ -77,6 +77,11 @@ services: container_name: tipi-worker image: ghcr.io/runtipi/worker:${TIPI_VERSION} restart: unless-stopped + deploy: + resources: + limits: + cpus: "1" + memory: 512M healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3000/worker-api/healthcheck"] @@ -187,6 +192,7 @@ services: environment: NODE_ENV: production TIPI_VERSION: ${TIPI_VERSION} + NEXT_PUBLIC_TIPI_VERSION: 0.0.0 labels: # Main traefik.enable: true