Skip to content

Commit

Permalink
improved dev testing suite
Browse files Browse the repository at this point in the history
- adjusted compose file to store config data
- ignoring configs and data for version history
- adjusted setup script to make second instance the dev instance
  • Loading branch information
santiagosayshey committed May 10, 2024
1 parent b3e63aa commit 009eede
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 45 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,7 @@ cython_debug/

config.yml

exports/
exports/

config/
data/
42 changes: 0 additions & 42 deletions develop/docker-compose.yml

This file was deleted.

30 changes: 30 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: "3.8"

services:
radarr-dev:
image: lscr.io/linuxserver/radarr:latest
container_name: radarr-dev
environment:
- PUID=0
- PGID=0
- TZ=Etc/UTC
volumes:
- ./config/radarr-dev:/config
- ./data/dummy_radarr-dev:/downloads # Dummy path for downloads
ports:
- "7887:7878" # Unique port for Radarr development instance
restart: unless-stopped

sonarr-dev:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr-dev
environment:
- PUID=0
- PGID=0
- TZ=Etc/UTC
volumes:
- ./config/sonarr-dev:/config
- ./data/dummy_sonarr-dev:/downloads # Dummy path for downloads
ports:
- "8998:8989" # Unique port for Sonarr development instance
restart: unless-stopped
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
- name: "Master"
base_url: "http://localhost:7878"
api_key: "API_KEY"
- name: "4k-radarr"
- name: "DEV"
base_url: "http://localhost:7887"
api_key: "API_KEY"
sonarr:
- name: "Master"
base_url: "http://localhost:8989"
api_key: "API_KEY"
- name: "4k-sonarr"
- name: "DEV"
base_url: "http://localhost:8998"
api_key: "API_KEY"
settings:
Expand Down

0 comments on commit 009eede

Please sign in to comment.