feat: coolify support for docker compose

This commit is contained in:
not-nullptr 2025-02-15 13:12:57 +00:00
parent 582f99588f
commit e25b0fc720
1 changed files with 10 additions and 5 deletions

View File

@ -1,13 +1,18 @@
services: services:
vert: vert:
container_name: 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: build:
context: . context: .
args: args:
PUB_HOSTNAME: "vert.sh" PUB_HOSTNAME: ${PUB_HOSTNAME:-vert.sh}
PUB_PLAUSIBLE_URL: "https://plausible.example.com" PUB_PLAUSIBLE_URL: ${PUB_PLAUSIBLE_URL:-https://plausible.example.com}
PUB_ENV: "production" PUB_ENV: ${PUB_ENV:-production}
restart: unless-stopped restart: unless-stopped
ports: ports:
- 3000:80 - ${PORT:-3000}:80