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 Jan 6, 2021. It is now read-only.
_Due to a trademark related request, this image will move to a new repo soon. The image name and address will be changed. We are working on making the transition as smooth as possible so as not to break current implementations used in production. But be warned that there will be breaking changes ahead, which will require user intervention. Check back here frequently for more updates. Apologies for the the disruptions._
39
+
_Due to a trademark related request, this image will move to a new repo soon. The image name and address will be changed. We are working on making the transition as smooth as possible so as not to break current implementations used in production. But be warned that there will be breaking changes ahead, which will require user intervention. Check back here frequently for more updates. Apologies for the the disruption._
40
40
41
-
SWAG - Secure Web-server And Gateway (formerly known as letsencrypt, no relation to Let's Encrypt™) sets up an Nginx webserver and reverse proxy with php support and a built-in certbot client that automates free SSL server certificate generation and renewal processes. It also contains fail2ban for intrusion prevention.
41
+
**SWAG - Secure Web-server And Gateway** (formerly known as letsencrypt, no relation to Let's Encrypt™) sets up an Nginx webserver and reverse proxy with php support and a built-in certbot client that automates free SSL server certificate generation and renewal processes. It also contains fail2ban for intrusion prevention.
@@ -65,7 +65,7 @@ Here are some example snippets to help you get started creating a container.
65
65
66
66
```
67
67
docker create \
68
-
--name=letsencrypt \
68
+
--name=swag \
69
69
--cap-add=NET_ADMIN \
70
70
-e PUID=1000 \
71
71
-e PGID=1000 \
@@ -96,9 +96,9 @@ Compatible with docker-compose v2 schemas.
96
96
---
97
97
version: "2.1"
98
98
services:
99
-
letsencrypt:
99
+
swag:
100
100
image: linuxserver/letsencrypt
101
-
container_name: letsencrypt
101
+
container_name: swag
102
102
cap_add:
103
103
- NET_ADMIN
104
104
environment:
@@ -220,9 +220,9 @@ This will *ask* Google et al not to index and list your site. Be careful with th
220
220
3. nginx-botsearch
221
221
* To enable or disable other jails, modify the file `/config/fail2ban/jail.local`
222
222
* To modify filters and actions, instead of editing the `.conf` files, create `.local` files with the same name and edit those because .conf files get overwritten when the actions and filters are updated. `.local` files will append whatever's in the `.conf` files (ie. `nginx-http-auth.conf` --> `nginx-http-auth.local`)
223
-
* You can check which jails are active via `docker exec -it letsencrypt fail2ban-client status`
224
-
* You can check the status of a specific jail via `docker exec -it letsencrypt fail2ban-client status <jail name>`
225
-
* You can unban an IP via `docker exec -it letsencrypt fail2ban-client set <jail name> unbanip <IP>`
223
+
* You can check which jails are active via `docker exec -it swag fail2ban-client status`
224
+
* You can check the status of a specific jail via `docker exec -it swag fail2ban-client status <jail name>`
225
+
* You can unban an IP via `docker exec -it swag fail2ban-client set <jail name> unbanip <IP>`
226
226
* A list of commands can be found here: https://www.fail2ban.org/wiki/index.php/Commands
227
227
228
228
@@ -234,10 +234,10 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
234
234
235
235
## Support Info
236
236
237
-
* Shell access whilst the container is running: `docker exec -it letsencrypt /bin/bash`
238
-
* To monitor the logs of the container in realtime: `docker logs -f letsencrypt`
237
+
* Shell access whilst the container is running: `docker exec -it swag /bin/bash`
238
+
* To monitor the logs of the container in realtime: `docker logs -f swag`
239
239
* container version number
240
-
*`docker inspect -f '{{ index .Config.Labels "build_version" }}' letsencrypt`
240
+
*`docker inspect -f '{{ index .Config.Labels "build_version" }}' swag`
241
241
* image version number
242
242
*`docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/letsencrypt`
243
243
@@ -249,17 +249,17 @@ Below are the instructions for updating containers:
249
249
250
250
### Via Docker Run/Create
251
251
* Update the image: `docker pull linuxserver/letsencrypt`
252
-
* Stop the running container: `docker stop letsencrypt`
253
-
* Delete the container: `docker rm letsencrypt`
252
+
* Stop the running container: `docker stop swag`
253
+
* Delete the container: `docker rm swag`
254
254
* Recreate a new container with the same docker create parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
255
-
* Start the new container: `docker start letsencrypt`
255
+
* Start the new container: `docker start swag`
256
256
* You can also remove the old dangling images: `docker image prune`
257
257
258
258
### Via Docker Compose
259
259
* Update all images: `docker-compose pull`
260
-
* or update a single image: `docker-compose pull letsencrypt`
260
+
* or update a single image: `docker-compose pull swag`
261
261
* Let compose update all containers as necessary: `docker-compose up -d`
262
-
* or update a single container: `docker-compose up -d letsencrypt`
262
+
* or update a single container: `docker-compose up -d swag`
263
263
* You can also remove the old dangling images: `docker image prune`
264
264
265
265
### Via Watchtower auto-updater (especially useful if you don't remember the original parameters)
@@ -268,7 +268,7 @@ Below are the instructions for updating containers:
268
268
docker run --rm \
269
269
-v /var/run/docker.sock:/var/run/docker.sock \
270
270
containrrr/watchtower \
271
-
--run-once letsencrypt
271
+
--run-once swag
272
272
```
273
273
274
274
**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.
0 commit comments