Add couchpotato
This commit is contained in:
parent
efd7b2d0c0
commit
ace6d79d0f
|
@ -0,0 +1,12 @@
|
||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
# create folders
|
||||||
|
mkdir -p \
|
||||||
|
/var/log/couchpotato
|
||||||
|
|
||||||
|
# permissions
|
||||||
|
chown -R abc:abc \
|
||||||
|
/app
|
||||||
|
|
||||||
|
chmod 777 \
|
||||||
|
/var/log/couchpotato
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
UMASK_SET=${UMASK_SET:-022}
|
||||||
|
umask "$UMASK_SET"
|
||||||
|
|
||||||
|
exec \
|
||||||
|
s6-setuidgid abc python /app/couchpotato/CouchPotato.py \
|
||||||
|
--config_file=/config/config.ini --data_dir=/config/data
|
|
@ -87,6 +87,17 @@ http {
|
||||||
proxy_pass $sonarr;
|
proxy_pass $sonarr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
include common.conf;
|
||||||
|
server_name ~^(couchpotato)(\.\w+)+$;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
set $sonarr http://couchpotato:5050;
|
||||||
|
proxy_pass $sonarr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim: ft=nginx
|
# vim: ft=nginx
|
||||||
|
|
|
@ -13,6 +13,7 @@ Included services are:
|
||||||
- jackett (included in the sonarr image)
|
- jackett (included in the sonarr image)
|
||||||
- plex
|
- plex
|
||||||
- h5ai (service accessible via `explore.hostname`)
|
- h5ai (service accessible via `explore.hostname`)
|
||||||
|
- couchpotato
|
||||||
|
|
||||||
The front-end reverse proxy routes based on the lowest level subdomain (e.g.
|
The front-end reverse proxy routes based on the lowest level subdomain (e.g.
|
||||||
`deluge.example.com` would route to deluge). Since this is how the router
|
`deluge.example.com` would route to deluge). Since this is how the router
|
||||||
|
|
12
build-all.sh
12
build-all.sh
|
@ -22,11 +22,11 @@ while getopts ":nq" opt; do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
docker build -t fromenje/seedbox:frontend $ARGS Dockerfiles/frontend &
|
docker build -t fromenje/seedbox:frontend $ARGS Dockerfiles/frontend &
|
||||||
docker build -t fromenje/seedbox:plex $ARGS Dockerfiles/plex &
|
docker build -t fromenje/seedbox:plex $ARGS Dockerfiles/plex &
|
||||||
docker build -t fromenje/seedbox:rtorrent $ARGS Dockerfiles/rtorrent &
|
docker build -t fromenje/seedbox:deluge $ARGS Dockerfiles/deluge &
|
||||||
docker build -t fromenje/seedbox:deluge $ARGS Dockerfiles/deluge &
|
docker build -t fromenje/seedbox:sonarr $ARGS Dockerfiles/sonarr &
|
||||||
docker build -t fromenje/seedbox:sonarr $ARGS Dockerfiles/sonarr &
|
docker build -t fromenje/seedbox:h5ai $ARGS Dockerfiles/h5ai &
|
||||||
docker build -t fromenje/seedbox:h5ai $ARGS Dockerfiles/h5ai &
|
docker build -t fromenje/seedbox:couchpotato $ARGS Dockerfiles/couchpotato &
|
||||||
|
|
||||||
wait
|
wait
|
||||||
|
|
|
@ -75,3 +75,16 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- config:/config
|
- config:/config
|
||||||
- torrents:/torrents
|
- torrents:/torrents
|
||||||
|
|
||||||
|
couchpotato:
|
||||||
|
image: fromenje/seedbox:couchpotato
|
||||||
|
build: Dockerfiles/couchpotato
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- main
|
||||||
|
volumes:
|
||||||
|
- config:/config
|
||||||
|
- torrents/deluge:/downloads
|
||||||
|
- torrents/Movies:/movies
|
||||||
|
env_file:
|
||||||
|
- config
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
docker push fromenje/seedbox:frontend
|
docker push fromenje/seedbox:frontend
|
||||||
docker push fromenje/seedbox:plex
|
docker push fromenje/seedbox:plex
|
||||||
docker push fromenje/seedbox:rtorrent
|
|
||||||
docker push fromenje/seedbox:sonarr
|
docker push fromenje/seedbox:sonarr
|
||||||
docker push fromenje/seedbox:deluge
|
docker push fromenje/seedbox:deluge
|
||||||
docker push fromenje/seedbox:h5ai
|
docker push fromenje/seedbox:h5ai
|
||||||
|
docker push fromenje/seedbox:couchpotato
|
||||||
|
|
Loading…
Reference in New Issue