You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
38
97
39
98
| Parameter | Function |
40
99
| ---- | --- |
41
-
|`-p 8989`| Sonarr UI |
42
-
|`-p 7878`| Radarr UI |
43
-
|`-p 8686`| Lidarr UI |
44
-
|`-p 8787`| Readarr UI |
45
-
|`-p 9696`| Prowlarr UI |
46
-
|`-p 6969`| Whisparr UI |
100
+
|`-p 8989:8989`| Sonarr UI |
101
+
|`-p 7878:7878`| Radarr UI |
102
+
|`-p 8686:8686`| Lidarr UI |
103
+
|`-p 8787:8787`| Readarr UI |
104
+
|`-p 9696:9696`| Prowlarr UI |
105
+
|`-p 6969:6969`| Whisparr UI |
47
106
|`-e PUID=1000`| UID to run the applications as. |
48
107
|`-e PGID=1000`| GID to run the applications as. |
49
108
|`-e TZ=Europe/London`| Specify a timezone to use e.g. Europe/London. |
@@ -53,10 +112,92 @@ Container images are configured using parameters passed at runtime (such as thos
53
112
|`-e READARR=`| Set to `false` to disable the Readarr service. |
54
113
|`-e PROWLARR=`| Set to `false` to disable the Prowlarr service. |
55
114
|`-e WHISPARR=`| Set to `false` to disable the Whisparr service. |
56
-
|`-v /config`| Stores config and application files |
115
+
|`-v /config:/config`| Stores config and application files |
116
+
117
+
## Environment variables from files (Docker secrets)
118
+
119
+
You can set any environment variable from a file by using a special prepend `FILE__`.
120
+
121
+
As an example:
122
+
123
+
```shell
124
+
-e FILE__PASSWORD=/run/secrets/mysecretpassword
125
+
```
126
+
127
+
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.
128
+
129
+
## Umask for running applications
130
+
131
+
For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional `-e UMASK=022` setting.
132
+
Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up [here](https://en.wikipedia.org/wiki/Umask) before asking for support.
133
+
134
+
## User / Group Identifiers
135
+
136
+
When using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
137
+
138
+
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
139
+
140
+
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
* Shell access whilst the container is running: `docker exec -it arr-in-one /bin/bash`
150
+
* To monitor the logs of the container in realtime: `docker logs -f arr-in-one`
151
+
152
+
## Updating Info
153
+
154
+
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. We do not recommend or support updating apps inside the container.
155
+
156
+
Below are the instructions for updating containers:
157
+
158
+
### Via Docker Compose
159
+
160
+
* Update all images: `docker-compose pull`
161
+
* or update a single image: `docker-compose pull arr-in-one`
162
+
* Let compose update all containers as necessary: `docker-compose up -d`
163
+
* or update a single container: `docker-compose up -d arr-in-one`
164
+
* You can also remove the old dangling images: `docker image prune`
165
+
166
+
### Via Docker Run
167
+
168
+
* Update the image: `docker pull ghcr.io/thespad/arr-in-one`
169
+
* Stop the running container: `docker stop arr-in-one`
170
+
* Delete the container: `docker rm arr-in-one`
171
+
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
172
+
* You can also remove the old dangling images: `docker image prune`
>We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
178
+
179
+
## Building locally
180
+
181
+
If you want to make local modifications to these images for development purposes or just to customize the logic:
0 commit comments