Docker-Compose
This commit is contained in:
parent
0ba7b17ad8
commit
a1f75efb38
2 changed files with 15 additions and 1 deletions
|
|
@ -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
14
web/docker-compose.yaml
Normal 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
|
||||
Loading…
Reference in a new issue