Skip to content
This repository was archived by the owner on Jan 3, 2025. It is now read-only.

Commit f8e996e

Browse files
Bot Updating Templated Files
1 parent 32d60a5 commit f8e996e

File tree

1 file changed

+100
-35
lines changed

1 file changed

+100
-35
lines changed

README.md

Lines changed: 100 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-quassel-web/blob/master/.github/CONTRIBUTING.md -->
3-
1+
<!-- DO NOT EDIT THIS FILE MANUALLY -->
2+
<!-- Please read https://github.com/linuxserver/docker-quassel-web/blob/master/.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!")
@@ -73,7 +72,7 @@ If you are using a reverse proxy which validates certificates, you need to [disa
7372

7473
## Usage
7574

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

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

@@ -113,12 +112,11 @@ docker run -d \
113112
-v /path/to/data:/config \
114113
--restart unless-stopped \
115114
lscr.io/linuxserver/quassel-web:latest
116-
117115
```
118116

119117
## Parameters
120118

121-
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.
119+
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.
122120

123121
| Parameter | Function |
124122
| :----: | --- |
@@ -138,10 +136,10 @@ You can set any environment variable from a file by using a special prepend `FIL
138136
As an example:
139137

140138
```bash
141-
-e FILE__PASSWORD=/run/secrets/mysecretpassword
139+
-e FILE__MYVAR=/run/secrets/mysecretvariable
142140
```
143141

144-
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.
142+
Will set the environment variable `MYVAR` based on the contents of the `/run/secrets/mysecretvariable` file.
145143

146144
## Umask for running applications
147145

@@ -150,15 +148,20 @@ Keep in mind umask is not chmod it subtracts from permissions based on it's valu
150148

151149
## User / Group Identifiers
152150

153-
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`.
151+
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`.
154152

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

157-
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
155+
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id your_user` as below:
158156

159157
```bash
160-
$ id username
161-
uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
158+
id your_user
159+
```
160+
161+
Example output:
162+
163+
```text
164+
uid=1000(your_user) gid=1000(your_user) groups=1000(your_user)
162165
```
163166

164167
## Docker Mods
@@ -169,12 +172,29 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
169172

170173
## Support Info
171174

172-
* Shell access whilst the container is running: `docker exec -it quassel-web /bin/bash`
173-
* To monitor the logs of the container in realtime: `docker logs -f quassel-web`
174-
* container version number
175-
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' quassel-web`
176-
* image version number
177-
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/quassel-web:latest`
175+
* Shell access whilst the container is running:
176+
177+
```bash
178+
docker exec -it quassel-web /bin/bash
179+
```
180+
181+
* To monitor the logs of the container in realtime:
182+
183+
```bash
184+
docker logs -f quassel-web
185+
```
186+
187+
* Container version number:
188+
189+
```bash
190+
docker inspect -f '{{ index .Config.Labels "build_version" }}' quassel-web
191+
```
192+
193+
* Image version number:
194+
195+
```bash
196+
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/quassel-web:latest
197+
```
178198

179199
## Updating Info
180200

@@ -184,38 +204,83 @@ Below are the instructions for updating containers:
184204

185205
### Via Docker Compose
186206

187-
* Update all images: `docker-compose pull`
188-
* or update a single image: `docker-compose pull quassel-web`
189-
* Let compose update all containers as necessary: `docker-compose up -d`
190-
* or update a single container: `docker-compose up -d quassel-web`
191-
* You can also remove the old dangling images: `docker image prune`
207+
* Update images:
208+
* All images:
209+
210+
```bash
211+
docker-compose pull
212+
```
213+
214+
* Single image:
215+
216+
```bash
217+
docker-compose pull quassel-web
218+
```
219+
220+
* Update containers:
221+
* All containers:
222+
223+
```bash
224+
docker-compose up -d
225+
```
226+
227+
* Single container:
228+
229+
```bash
230+
docker-compose up -d quassel-web
231+
```
232+
233+
* You can also remove the old dangling images:
234+
235+
```bash
236+
docker image prune
237+
```
192238

193239
### Via Docker Run
194240

195-
* Update the image: `docker pull lscr.io/linuxserver/quassel-web:latest`
196-
* Stop the running container: `docker stop quassel-web`
197-
* Delete the container: `docker rm quassel-web`
241+
* Update the image:
242+
243+
```bash
244+
docker pull lscr.io/linuxserver/quassel-web:latest
245+
```
246+
247+
* Stop the running container:
248+
249+
```bash
250+
docker stop quassel-web
251+
```
252+
253+
* Delete the container:
254+
255+
```bash
256+
docker rm quassel-web
257+
```
258+
198259
* 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)
199-
* You can also remove the old dangling images: `docker image prune`
260+
* You can also remove the old dangling images:
261+
262+
```bash
263+
docker image prune
264+
```
200265

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

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

205-
```bash
206-
docker run --rm \
207-
-v /var/run/docker.sock:/var/run/docker.sock \
208-
containrrr/watchtower \
209-
--run-once quassel-web
210-
```
270+
```bash
271+
docker run --rm \
272+
-v /var/run/docker.sock:/var/run/docker.sock \
273+
containrrr/watchtower \
274+
--run-once quassel-web
275+
```
211276

212277
* You can also remove the old dangling images: `docker image prune`
213278

214-
**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).
279+
**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).
215280

216281
### Image Update Notifications - Diun (Docker Image Update Notifier)
217282

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

220285
## Building locally
221286

0 commit comments

Comments
 (0)