yale-user-access/sample.compose.yml
Liam Pietralla f577617b4d
All checks were successful
Build and Publish / Build Yale Access Backend (push) Successful in 28s
Build and Publish / Build Yale Access Frontend (push) Successful in 47s
Build and Publish / Push Yale Access Backend Docker Image (push) Successful in 9s
Build and Publish / Push Yale Access Frontend Docker Image (push) Successful in 10s
initial commit
2025-01-10 08:37:18 +11:00

37 lines
1.0 KiB
YAML

services:
frontend:
container_name: yale-access-frontend
image: liamp1/yale-access-frontend:latest
restart: unless-stopped
ports: 5015:3000
environment:
- NUXT_PUBLIC_API_BASE_URL=http://<computer-ip>:5016
backend:
container_name: yale-access-backend
image: liamp1/yale-access-backend:latest
restart: unless-stopped
ports: 5016:80
environment:
- LogLocation=/log/log.txt
- CorsAllowedOrigins=http://<computer-ip>:5015
- Devices__YaleLockNodeId=<node-id>
- Codes__Home=<code-id>
- Codes__GuestCodeRangeStart=<code-id>
- Codes__GuestCodeRangeCount=<count>
- ZWave__Url=http://<z-wave-ip>:<z-wave-port>
- ZWave__SchemaVersion=<z-wave-schema>
- Authentication__Password=<password>
- Twilio__AccountSid=<twilio-account-sid>
- Twilio__AuthToken=<twilio-auth-token>
- Twilio__FromNumber=<twilio-from-number>
- Twilio__Message=<twilio-message>
volumes:
- ./log:/log
- ./data:/yale-data