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
{{ message }}
This repository was archived by the owner on Aug 25, 2023. It is now read-only.
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
109
-
```
109
+
110
+
```bash
110
111
docker run --rm --privileged multiarch/qemu-user-static:register --reset
111
112
```
112
113
113
114
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
114
115
115
-
## Update the chagelog
116
+
## Update the changelog
116
117
117
118
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-nntp2nntp/tree/master/root), add an entry to the changelog
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring:
14
14
15
-
* regular and timely application updates
16
-
* easy user mappings (PGID, PUID)
17
-
* custom base image with s6 overlay
18
-
* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
19
-
* regular security updates
15
+
* regular and timely application updates
16
+
* easy user mappings (PGID, PUID)
17
+
* custom base image with s6 overlay
18
+
* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
19
+
* regular security updates
20
20
21
21
Find us at:
22
+
22
23
*[Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!
23
24
*[Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
24
25
*[Discourse](https://discourse.linuxserver.io) - post on our community forum.
@@ -43,7 +44,6 @@ Find us at:
43
44
44
45
Whilst we know of no nntp2nntp security issues the [upstream code](https://github.com/linuxserver/nntp2nntp) for this project has received no changes since 06.08.15 and is likely abandoned permanently. For this reason we strongly recommend you do not make this application public facing and if you must do so other layers of security and SSL should be considered an absolute bare minimum requirement. We see this proxy being used primarily on a LAN so that all the users NNTP applications can share a common set of internal credentials allowing for central managment of the upstream account e.g change provider, server, thread limits for all applications with one global config change.
entering the desired password and copying the resulting string to the relevant user line in `/config/nntp2nntp.conf`
72
+
73
+
Example with a user called `Dave` and with a password of `password`
74
+
```
75
+
Dave = 5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8
76
+
```
63
77
64
78
## Usage
65
79
@@ -91,7 +105,7 @@ services:
91
105
92
106
### docker cli
93
107
94
-
```
108
+
```bash
95
109
docker run -d \
96
110
--name=nntp2nntp \
97
111
-e PUID=1000 \
@@ -105,7 +119,6 @@ docker run -d \
105
119
ghcr.io/linuxserver/nntp2nntp
106
120
```
107
121
108
-
109
122
## Parameters
110
123
111
124
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.
@@ -126,7 +139,7 @@ You can set any environment variable from a file by using a special prepend `FIL
126
139
127
140
As an example:
128
141
129
-
```
142
+
```bash
130
143
-e FILE__PASSWORD=/run/secrets/mysecretpassword
131
144
```
132
145
@@ -145,35 +158,17 @@ Ensure any volume directories on the host are owned by the same user you specify
145
158
146
159
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
entering the desired password and copying the resulting string to the relevant user line in `/config/nntp2nntp.conf`
164
-
165
-
Example with a user called `Dave` and with a password of `password`
166
-
```
167
-
Dave = 5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8
168
-
```
169
-
170
-
171
166
## Docker Mods
167
+
172
168
[](https://mods.linuxserver.io/?mod=nntp2nntp"view available mods for this container.")[](https://mods.linuxserver.io/?mod=universal"view available universal mods.")
173
169
174
170
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.
175
171
176
-
177
172
## Support Info
178
173
179
174
* Shell access whilst the container is running: `docker exec -it nntp2nntp /bin/bash`
@@ -190,38 +185,45 @@ Most of our images are static, versioned, and require an image update and contai
190
185
Below are the instructions for updating containers:
191
186
192
187
### Via Docker Compose
188
+
193
189
* Update all images: `docker-compose pull`
194
190
* or update a single image: `docker-compose pull nntp2nntp`
195
191
* Let compose update all containers as necessary: `docker-compose up -d`
196
192
* or update a single container: `docker-compose up -d nntp2nntp`
197
193
* You can also remove the old dangling images: `docker image prune`
198
194
199
195
### Via Docker Run
196
+
200
197
* Update the image: `docker pull ghcr.io/linuxserver/nntp2nntp`
201
198
* Stop the running container: `docker stop nntp2nntp`
202
199
* Delete the container: `docker rm nntp2nntp`
203
200
* 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)
204
201
* You can also remove the old dangling images: `docker image prune`
205
202
206
203
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
204
+
207
205
* Pull the latest image at its tag and replace it with the same env variables in one run:
208
-
```
206
+
207
+
```bash
209
208
docker run --rm \
210
209
-v /var/run/docker.sock:/var/run/docker.sock \
211
210
containrrr/watchtower \
212
211
--run-once nntp2nntp
213
212
```
213
+
214
214
* You can also remove the old dangling images: `docker image prune`
215
215
216
216
**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).
* We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
220
221
221
222
## Building locally
222
223
223
224
If you want to make local modifications to these images for development purposes or just to customize the logic:
0 commit comments