From e25b0fc7208be2b6d7fce13526fe02e07ef6d0a1 Mon Sep 17 00:00:00 2001 From: not-nullptr <62841684+not-nullptr@users.noreply.github.com> Date: Sat, 15 Feb 2025 13:12:57 +0000 Subject: [PATCH] feat: coolify support for docker compose --- docker-compose.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e69b47b..8bbb17a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,13 +1,18 @@ services: vert: container_name: vert - image: VERT-sh/vert:latest # will build under this name + image: VERT-sh/vert:latest + environment: + - PUB_HOSTNAME=${PUB_HOSTNAME:-vert.sh} + - PUB_PLAUSIBLE_URL=${PUB_PLAUSIBLE_URL:-https://plausible.example.com} + - PUB_ENV=${PUB_ENV:-production} + - PORT=${PORT:-3000} build: context: . args: - PUB_HOSTNAME: "vert.sh" - PUB_PLAUSIBLE_URL: "https://plausible.example.com" - PUB_ENV: "production" + PUB_HOSTNAME: ${PUB_HOSTNAME:-vert.sh} + PUB_PLAUSIBLE_URL: ${PUB_PLAUSIBLE_URL:-https://plausible.example.com} + PUB_ENV: ${PUB_ENV:-production} restart: unless-stopped ports: - - 3000:80 \ No newline at end of file + - ${PORT:-3000}:80