Remove Docker stuff
This commit is contained in:
parent
eedce14df4
commit
75fd103476
2 changed files with 0 additions and 44 deletions
|
|
@ -1,13 +0,0 @@
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
|
||||||
WORKDIR /app
|
|
||||||
COPY NightLight.sln ./
|
|
||||||
COPY NightLight.Core/NightLight.Core.fsproj NightLight.Core/
|
|
||||||
COPY NightLight/NightLight.fsproj NightLight/
|
|
||||||
RUN dotnet restore NightLight/NightLight.fsproj
|
|
||||||
COPY . ./
|
|
||||||
RUN dotnet publish NightLight/NightLight.fsproj --no-restore -c Release -o out
|
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/runtime:10.0
|
|
||||||
WORKDIR /app
|
|
||||||
COPY --from=build /app/out .
|
|
||||||
ENTRYPOINT ["dotnet", "NightLight.dll"]
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
||||||
services:
|
|
||||||
mqtt:
|
|
||||||
image: eclipse-mosquitto:2.0.21
|
|
||||||
restart: always
|
|
||||||
volumes:
|
|
||||||
- /mosquitto
|
|
||||||
ports:
|
|
||||||
- 1883:1883
|
|
||||||
- 9001:9001
|
|
||||||
command: "mosquitto -c /mosquitto-no-auth.conf"
|
|
||||||
zigbee2mqtt:
|
|
||||||
image: koenkk/zigbee2mqtt:2.6.3
|
|
||||||
restart: always
|
|
||||||
volumes:
|
|
||||||
- ./zigbee2mqtt-data:/app/data
|
|
||||||
- /run/udev:/run/udev:ro
|
|
||||||
ports:
|
|
||||||
- 8080:8080
|
|
||||||
environment:
|
|
||||||
- TZ=Europe/Stockholm
|
|
||||||
devices:
|
|
||||||
- /dev/ttyUSB0:/dev/ttyUSB0
|
|
||||||
night-light:
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: ./NightLight/Dockerfile
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
- MQTT_SERVER=mqtt
|
|
||||||
- TZ=Europe/Stockholm
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue