Compare commits
No commits in common. "development" and "production" have entirely different histories.
developmen
...
production
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 Bryan Joshua Pedini
|
||||
Copyright (c) 2022 Bryan Joshua Pedini
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -1 +1,2 @@
|
||||
# Node-Red Deployment
|
||||
# Base App Deployment
|
||||
This is the base on which (almost) every deployment is sort-of-based on.
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
services:
|
||||
nodered:
|
||||
image: nodered/node-red:${NODERED_VERSION}
|
||||
app:
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
### Section Træfik
|
||||
@ -30,8 +29,6 @@ services:
|
||||
- diun.exclude_tags=${DIUN_EXCLUDE}
|
||||
networks:
|
||||
- traefik
|
||||
volumes:
|
||||
- ${NODERED_DATA}:/data
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
|
12
env.example
12
env.example
@ -1,10 +1,10 @@
|
||||
# Træfik
|
||||
TRAEFIK_ENABLED=true
|
||||
TRAEFIK_NETWORK=traefik
|
||||
TRAEFIK_ROUTER=nodered_example_com
|
||||
TRAEFIK_SERVICE=nodered_example_com
|
||||
TRAEFIK_SERVICE_PORT=1880
|
||||
TRAEFIK_MATCHRULE=Host(`nodered.example.com`)
|
||||
TRAEFIK_ROUTER=app_example_com
|
||||
TRAEFIK_SERVICE=app_example_com
|
||||
TRAEFIK_SERVICE_PORT=80
|
||||
TRAEFIK_MATCHRULE=Host(`app.example.com`)
|
||||
TRAEFIK_TLSENABLED=true
|
||||
TRAEFIK_CERTRESOLVER=letsencrypt
|
||||
TRAEFIK_HTTP_MIDDLEWARES=http-to-https
|
||||
@ -16,7 +16,3 @@ DIUN_WATCHREPO=true
|
||||
DIUN_SORTALGO=semver
|
||||
DIUN_INCLUDE=
|
||||
DIUN_EXCLUDE=
|
||||
|
||||
# Node-red
|
||||
NODERED_VERSION=3.0.2-18-minimal
|
||||
NODERED_DATA=./data/nodered
|
||||
|
Loading…
Reference in New Issue
Block a user