Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

Commit 6602465

Browse files
Bot Updating Templated Files
1 parent b3d6b5f commit 6602465

File tree

1 file changed

+101
-35
lines changed

1 file changed

+101
-35
lines changed

README.md

Lines changed: 101 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
<!-- DO NOT EDIT THIS FILE MANUALLY -->
2-
<!-- Please read the https://github.com/linuxserver/docker-plex-meta-manager/blob/develop/.github/CONTRIBUTING.md -->
3-
1+
<!-- DO NOT EDIT THIS FILE MANUALLY -->
2+
<!-- Please read https://github.com/linuxserver/docker-plex-meta-manager/blob/develop/.github/CONTRIBUTING.md -->
43
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)](https://linuxserver.io)
54

65
[![Blog](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=Blog)](https://blog.linuxserver.io "all the things you can do with our containers including How-To guides, opinions and much more!")
@@ -67,6 +66,7 @@ This image provides various versions that are available via tags. Please read th
6766
| latest || Stable releases. |
6867
| develop || Latest commits from the develop branch |
6968
| nightly || Latest commits from the nightly branch |
69+
7070
## Application Setup
7171

7272
There is a [walkthrough](https://metamanager.wiki/en/latest/home/guides/docker.html#setting-up-the-initial-config-file) available to help get you up and running.
@@ -79,7 +79,7 @@ For more information see the [official wiki](https://metamanager.wiki).
7979

8080
## Usage
8181

82-
Here are some example snippets to help you get started creating a container.
82+
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
8383

8484
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
8585

@@ -120,12 +120,11 @@ docker run -d \
120120
-v /path/to/appdata/config:/config \
121121
--restart unless-stopped \
122122
lscr.io/linuxserver/plex-meta-manager:develop
123-
124123
```
125124

126125
## Parameters
127126

128-
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.
127+
Containers 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.
129128

130129
| Parameter | Function |
131130
| :----: | --- |
@@ -146,10 +145,10 @@ You can set any environment variable from a file by using a special prepend `FIL
146145
As an example:
147146

148147
```bash
149-
-e FILE__PASSWORD=/run/secrets/mysecretpassword
148+
-e FILE__MYVAR=/run/secrets/mysecretvariable
150149
```
151150

152-
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.
151+
Will set the environment variable `MYVAR` based on the contents of the `/run/secrets/mysecretvariable` file.
153152

154153
## Umask for running applications
155154

@@ -158,15 +157,20 @@ Keep in mind umask is not chmod it subtracts from permissions based on it's valu
158157

159158
## User / Group Identifiers
160159

161-
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`.
160+
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`.
162161

163162
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
164163

165-
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
164+
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id your_user` as below:
166165

167166
```bash
168-
$ id username
169-
uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
167+
id your_user
168+
```
169+
170+
Example output:
171+
172+
```text
173+
uid=1000(your_user) gid=1000(your_user) groups=1000(your_user)
170174
```
171175

172176
## Docker Mods
@@ -177,12 +181,29 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
177181

178182
## Support Info
179183

180-
* Shell access whilst the container is running: `docker exec -it plex-meta-manager /bin/bash`
181-
* To monitor the logs of the container in realtime: `docker logs -f plex-meta-manager`
182-
* container version number
183-
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' plex-meta-manager`
184-
* image version number
185-
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/plex-meta-manager:develop`
184+
* Shell access whilst the container is running:
185+
186+
```bash
187+
docker exec -it plex-meta-manager /bin/bash
188+
```
189+
190+
* To monitor the logs of the container in realtime:
191+
192+
```bash
193+
docker logs -f plex-meta-manager
194+
```
195+
196+
* Container version number:
197+
198+
```bash
199+
docker inspect -f '{{ index .Config.Labels "build_version" }}' plex-meta-manager
200+
```
201+
202+
* Image version number:
203+
204+
```bash
205+
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/plex-meta-manager:develop
206+
```
186207

187208
## Updating Info
188209

@@ -192,38 +213,83 @@ Below are the instructions for updating containers:
192213

193214
### Via Docker Compose
194215

195-
* Update all images: `docker-compose pull`
196-
* or update a single image: `docker-compose pull plex-meta-manager`
197-
* Let compose update all containers as necessary: `docker-compose up -d`
198-
* or update a single container: `docker-compose up -d plex-meta-manager`
199-
* You can also remove the old dangling images: `docker image prune`
216+
* Update images:
217+
* All images:
218+
219+
```bash
220+
docker-compose pull
221+
```
222+
223+
* Single image:
224+
225+
```bash
226+
docker-compose pull plex-meta-manager
227+
```
228+
229+
* Update containers:
230+
* All containers:
231+
232+
```bash
233+
docker-compose up -d
234+
```
235+
236+
* Single container:
237+
238+
```bash
239+
docker-compose up -d plex-meta-manager
240+
```
241+
242+
* You can also remove the old dangling images:
243+
244+
```bash
245+
docker image prune
246+
```
200247

201248
### Via Docker Run
202249

203-
* Update the image: `docker pull lscr.io/linuxserver/plex-meta-manager:develop`
204-
* Stop the running container: `docker stop plex-meta-manager`
205-
* Delete the container: `docker rm plex-meta-manager`
250+
* Update the image:
251+
252+
```bash
253+
docker pull lscr.io/linuxserver/plex-meta-manager:develop
254+
```
255+
256+
* Stop the running container:
257+
258+
```bash
259+
docker stop plex-meta-manager
260+
```
261+
262+
* Delete the container:
263+
264+
```bash
265+
docker rm plex-meta-manager
266+
```
267+
206268
* 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)
207-
* You can also remove the old dangling images: `docker image prune`
269+
* You can also remove the old dangling images:
270+
271+
```bash
272+
docker image prune
273+
```
208274

209275
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
210276

211277
* Pull the latest image at its tag and replace it with the same env variables in one run:
212278

213-
```bash
214-
docker run --rm \
215-
-v /var/run/docker.sock:/var/run/docker.sock \
216-
containrrr/watchtower \
217-
--run-once plex-meta-manager
218-
```
279+
```bash
280+
docker run --rm \
281+
-v /var/run/docker.sock:/var/run/docker.sock \
282+
containrrr/watchtower \
283+
--run-once plex-meta-manager
284+
```
219285

220286
* You can also remove the old dangling images: `docker image prune`
221287

222-
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).
288+
**warning**: We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).
223289

224290
### Image Update Notifications - Diun (Docker Image Update Notifier)
225291

226-
* We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
292+
**tip**: We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
227293

228294
## Building locally
229295

0 commit comments

Comments
 (0)