Browse Source

feat: add node-red service, chore: update gitignore, ignore volume directories

chore/proposed-structure
Blaz Smehov 4 weeks ago
parent
commit
c32e042256
2 changed files with 9 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. +8
    -0
      build/docker-compose.yml

+ 1
- 0
.gitignore View File

@@ -23,3 +23,4 @@ presence.db
cmd/presenSe/presence.db cmd/presenSe/presence.db
# Dependency directories (remove the comment below to include it) # Dependency directories (remove the comment below to include it)
vendor/ vendor/
volumes/node-red/

+ 8
- 0
build/docker-compose.yml View File

@@ -35,6 +35,14 @@ services:
ports: ports:
- "127.0.0.1:6379:6379" - "127.0.0.1:6379:6379"


node-red:
image: nodered/node-red:latest-22
container_name: node-red
ports:
- "127.0.0.1:1880:1880"
volumes:
- "../volumes/node-red:/data"

presense-decoder: presense-decoder:
build: build:
context: ../ context: ../


Loading…
Cancel
Save