diff --git a/.gitea/workflows/commentDeploy.yml b/.gitea/workflows/commentDeploy.yml index b560ded..f78288b 100644 --- a/.gitea/workflows/commentDeploy.yml +++ b/.gitea/workflows/commentDeploy.yml @@ -63,6 +63,9 @@ jobs: REGISTRY=git.klemp.dev PROJECT_NAME=${{ steps.branch_name.outputs.branch_name }} COMPOSE_PROJECT_NAME=${{ steps.branch_name.outputs.branch_name }} + TOLGEE_API_URL=${{ vars.TOLGEE_API_URL }} + TOLGEE_API_KEY=${{ secres.TOLGEE_API_KEY }} + TRANSLATION_CACHE_TTL=${{ vars.TRANSLATION_CACHE_TTL }} EOF - name: Remove old Docker context diff --git a/docker-compose.yml b/docker-compose.yml index 9c945a7..ac03825 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,10 @@ services: app: image: ${IMAGE_URL} container_name: ${PROJECT_NAME}-app + environment: + TOLGEE_API_URL: ${TOLGEE_API_URL} + TOLGEE_API_KEY: ${TOLGEE_API_KEY} + TRANSLATION_CACHE_TTL: ${TRANSLATION_CACHE_TTL} restart: unless-stopped labels: - traefik.enable=true