It’s been several years since I worked with Docker and have gone through at least one hard drive since I was here, so unfortunately, I no longer have my notes of what I did.
Main computer - Debian 12
Server - Ubuntu 22.04 (will be switching over in the next few days for consistency across the network)
I set up Jellyfin as a docker container yesterday and it works great. I’m trying to put NodeRed on again for my home automation projects.
The issue I’m having is that I keep getting errors when I run my docker-compose yml file:
- validating /home/Docker/yml/docker-compose.yml: services.networks Additional property node-red-data is not allowed.
Since I just installed everything yesterday / today, I’m assuming I have the latest versions of the program.
Docker compose version v2.28.1
I know I’m missing something simple, but I’m not finding it in any of the message boards or websites I’ve visited.
docker-compose.yml
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
user: 1000:1000
network_mode: 'host'
environment:
- TZ=America/Chicago
volumes:
- /media/movies/config:/media/config
- /media/movies/data:/media/data/tvshows
- /media/movies:/media/data/movies
- type: bind
source: /media/movies
target: /media
- type: bind
source: /media/movies2
target: /media2
read_only: true
restart: 'unless-stopped'
node-red:
image: nodered/node-red:latest
environment:
- TZ=America/Chicago
ports:
- "1880:1880"
networks:
- node-red-net
volumes:
- node-red-data:/data
restart: unless-stopped
networks:
node-red-data:
Thank you