-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from jgwehr/feature/ripping-machine
WIP for Automatic Ripping Machine
- Loading branch information
Showing
6 changed files
with
117 additions
and
18 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
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
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,11 @@ | ||
This folder exists to separate infrequently-used or "odds and ends" out from the core services. | ||
|
||
While not ideal from an environment variable management standpoint, it's what works for now. | ||
|
||
The main concern is port reservation. This README also serves as documentation to avoid conflict. You can of course changes these at your own risk. | ||
|
||
### Ports | ||
|
||
| Service | Ports | | ||
| :-- | :-: | | ||
| auto-ripping-machine | `7010` | |
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,35 @@ | ||
COMPOSE_PROJECT_NAME= | ||
COMPOSE_TIMEOUT=300 | ||
|
||
PUID= | ||
PGID= | ||
TZ= | ||
DOCKERDIR=~/Docker/dockerfiles | ||
STATICONFIGDIR=~/Docker/staticconfig | ||
CONFIGDIR=/srv/docker-config | ||
CACHEDIR=/srv/cache | ||
|
||
DATADIR=/data | ||
DOWNLOADDIR=/data/downloads | ||
MEDIADIR=/data/media | ||
STATICDIR=/data/media/staticfiles | ||
DBDIR=/data/db | ||
LOGDIR=/srv/logs | ||
|
||
|
||
DEBUG_LOG=false | ||
LOG_LEVEL=ERROR | ||
|
||
# Ports | ||
PORT_RIPPING=7010 #for web access to ARM. Required for initial setup | ||
|
||
|
||
|
||
#################### | ||
# Service Specific | ||
#################### | ||
|
||
# Automatic Ripping Machine | ||
RIPPING_UID= | ||
RIPPING_GID= | ||
RIPPING_HOME=/home/ripper |
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,39 @@ | ||
version: "3.9" | ||
|
||
services: | ||
automatic-ripping-machine: | ||
container_name: automatic-ripping-machine | ||
image: 1337server/automatic-ripping-machine:latest | ||
|
||
privileged: true | ||
|
||
ports: | ||
- ${PORT_RIPPING}:8080 | ||
|
||
environment: | ||
ARM_UID: ${RIPPING_UID} | ||
ARM_GID: ${RIPPING_GID} | ||
|
||
devices: | ||
- /dev/sr0:/dev/sr0 | ||
|
||
labels: | ||
- "diun.enable=true" | ||
|
||
volumes: | ||
- ${CONFIGDIR}/ripping:/etc/arm/config | ||
- /etc/localtime:/etc/localtime:ro | ||
|
||
- ${RIPPING_HOME}:/home/arm | ||
- ${LOGDIR}/ripping:/home/arm/logs | ||
|
||
- ${DOWNLOADDIR}/rips/video:/home/arm/media/completed | ||
- ${DOWNLOADDIR}/rips/music:/home/arm/Music | ||
|
||
|
||
deploy: | ||
resources: | ||
limits: | ||
cpus: '5' | ||
memory: 2048M #for a single rip, ARM is not RAM limited. | ||
restart: 'no' |