This repository has been archived by the owner on Mar 1, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
remove git update on startup, tidy readme, init and services files
- Loading branch information
1 parent
ed05277
commit 4e105aa
Showing
7 changed files
with
48 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FROM lsiobase/alpine.python | ||
MAINTAINER sparklyballs | ||
|
||
# set python to use utf-8 rather than ascii, hopefully resolve special characters in movie names | ||
# set python to use utf-8 rather than ascii. | ||
ENV PYTHONIOENCODING="UTF-8" | ||
|
||
#Adding Custom files | ||
# add local files | ||
COPY root/ / | ||
|
||
#Mappings and Ports | ||
WORKDIR /app/couchpotato | ||
# ports and volumes | ||
EXPOSE 5050 | ||
WORKDIR /app/couchpotato | ||
VOLUME /config /downloads /movies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/with-contenv bash | ||
|
||
# create folders | ||
mkdir -p \ | ||
/var/log/couchpotato | ||
|
||
# install app | ||
[[ ! -d "/app/couchpotato/.git" ]] && \ | ||
git clone https://github.com/CouchPotato/CouchPotatoServer /app/couchpotato | ||
|
||
# permissions | ||
chown -R abc:abc \ | ||
/app | ||
|
||
chmod 777 \ | ||
/var/log/couchpotato | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
#!/usr/bin/with-contenv bash | ||
|
||
umask 0002 | ||
exec s6-setuidgid abc python /app/couchpotato/CouchPotato.py --config_file=/config/config.ini --data_dir=/config/data | ||
|
||
exec \ | ||
s6-setuidgid abc python /app/couchpotato/CouchPotato.py \ | ||
--config_file=/config/config.ini --data_dir=/config/data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/with-contenv bash | ||
exec s6-setuidgid abc tail -F /config/data/logs/error.log | ||
|
||
exec \ | ||
s6-setuidgid abc tail -F /config/data/logs/error.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/with-contenv bash | ||
exec s6-setuidgid abc tail -F /config/data/logs/CouchPotato.log | ||
|
||
exec \ | ||
s6-setuidgid abc tail -F /config/data/logs/CouchPotato.log |