From a1f75efb38aa8c4e5be04ed9b939433d34058356 Mon Sep 17 00:00:00 2001 From: John Parkhurst Date: Tue, 10 Jun 2025 22:59:40 -0400 Subject: [PATCH] Docker-Compose --- web/Dockerfile | 2 +- web/docker-compose.yaml | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 web/docker-compose.yaml diff --git a/web/Dockerfile b/web/Dockerfile index f4867a9..28d7377 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -10,5 +10,5 @@ RUN npm ci COPY . . EXPOSE 8080 -EXPOSE 5172 +EXPOSE 5173 CMD ["npm", "run", "dev"] diff --git a/web/docker-compose.yaml b/web/docker-compose.yaml new file mode 100644 index 0000000..870e2a0 --- /dev/null +++ b/web/docker-compose.yaml @@ -0,0 +1,14 @@ +services: + shiftsync-web: + image: 'docker.io/john4064/shiftsync:latest_web' + environment: + - 'TESTVAR=${COOLIFY_VAR}' + volumes: + - /home/jparkhurst/shiftsync:/shiftsync + ports: + - "5173:5173" + healthcheck: + test: ["CMD", "wget", "-qO-", "http://localhost:5173"] + interval: 10s + timeout: 5s + retries: 5