From 98b9672ccf0295bc9a24353423b6855eb01f2041 Mon Sep 17 00:00:00 2001 From: Neuro Date: Thu, 2 May 2024 00:17:28 -0400 Subject: [PATCH] this has been a complete disaster but I'll keep this for future help with an rss reader that doesn't suck --- arr/docker-compose.yml | 5 ++++- mail/docker-compose.yml | 0 rss-reader/.env.example | 19 +++++++++++++++++ rss-reader/docker-compose.yml | 40 +++++++++++++++++++++++++++++++++++ 4 files changed, 63 insertions(+), 1 deletion(-) delete mode 100644 mail/docker-compose.yml create mode 100644 rss-reader/.env.example create mode 100644 rss-reader/docker-compose.yml diff --git a/arr/docker-compose.yml b/arr/docker-compose.yml index 049b242..4525540 100644 --- a/arr/docker-compose.yml +++ b/arr/docker-compose.yml @@ -9,11 +9,12 @@ services: - VIRTUAL_HOST=radarr.${DOMAIN},radar.${DOMAIN} - LETSENCRYPT_HOST=radarr.${DOMAIN},radar.${DOMAIN} - LETSENCRYPT_EMAIL=${EMAIL} - - LETSENCRYPT_TEST=true + #- LETSENCRYPT_TEST=true volumes: - ${CONFIG_LOCATION}/radarr:/config - ${DATA_LOCATION}/Movies:/movies - /media/seedbox:/downloads + - ${DATA_LOCATION}/Downloads:/downloads-local expose: - "7878" ports: @@ -33,6 +34,7 @@ services: - ${CONFIG_LOCATION}/sonarr:/config - ${DATA_LOCATION}/TV:/tv - /media/seedbox:/downloads + - ${DATA_LOCATION}/Downloads:/downloads-local expose: - "8989" ports: @@ -105,6 +107,7 @@ services: - ${CONFIG_LOCATION}/lidarr:/config - ${DATA_LOCATION}/Music:/music - /media/seedbox:/downloads + - ${DATA_LOCATION}/Downloads:/downloads-local expose: - "8686" ports: diff --git a/mail/docker-compose.yml b/mail/docker-compose.yml deleted file mode 100644 index e69de29..0000000 diff --git a/rss-reader/.env.example b/rss-reader/.env.example new file mode 100644 index 0000000..31eab5b --- /dev/null +++ b/rss-reader/.env.example @@ -0,0 +1,19 @@ +DOMAIN=example.com +UID=1000 +GID=1000 +TZ=Etc/UTC +DBUSER=freshrss +DBPASS=password +CONFIG_LOCATION=./config +DATA_LOCATION=./data +EMAIL=example@mail.com +# ADMIN_EMAIL=admin@example.net +# ADMIN_PASSWORD=freshrss +# ADMIN_API_PASSWORD=freshrss +# # Published port if running locally +# PUBLISHED_PORT=8080 +# # Database credentials (not relevant if using default SQLite database) +# DB_HOST=freshrss-db +# DB_BASE=freshrss +# DB_PASSWORD=freshrss +# DB_USER=freshrss \ No newline at end of file diff --git a/rss-reader/docker-compose.yml b/rss-reader/docker-compose.yml new file mode 100644 index 0000000..c4cea17 --- /dev/null +++ b/rss-reader/docker-compose.yml @@ -0,0 +1,40 @@ +services: + db: + image: mysql:8.0 + restart: always + environment: + MYSQL_DATABASE: freshrss + MYSQL_USER: ${DBUSER} + MYSQL_PASSWORD: ${DBPASS} + MYSQL_RANDOM_ROOT_PASSWORD: '1' + volumes: + - db:/var/lib/mysql + freshrss: + image: lscr.io/linuxserver/freshrss:latest + container_name: freshrss + environment: + - PUID=1000 + - PGID=1000 + - TZ=Etc/UTC + - MYSQL_DB_HOST=db + - MYSQL_ROOT_PASSWORD=rootpass + - MYSQL_DATABASE=freshrss + - MYSQL_USER=${DBUSER} + - MYSQL_PASSWORD=${DBPASS} + - VIRTUAL_HOST=rss.${DOMAIN} + # - LETSENCRYPT_HOST=rss.${DOMAIN} + # - LETSENCRYPT_EMAIL=${EMAIL} + # - LETSENCRYPT_TEST=true + ports: + - "8085:80" + expose: + - "8085" + volumes: + - ./config:/config + restart: unless-stopped +volumes: + db: +networks: + default: + name: nginx-proxy + external: true