Docker-Compose

This commit is contained in:
John Parkhurst 2025-06-10 22:59:40 -04:00
parent 0ba7b17ad8
commit a1f75efb38
2 changed files with 15 additions and 1 deletions

View file

@ -10,5 +10,5 @@ RUN npm ci
COPY . .
EXPOSE 8080
EXPOSE 5172
EXPOSE 5173
CMD ["npm", "run", "dev"]

14
web/docker-compose.yaml Normal file
View file

@ -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