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
Copy file name to clipboardExpand all lines: README.md
+9-7
Original file line number
Diff line number
Diff line change
@@ -177,13 +177,15 @@ In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as bel
177
177
178
178
## Application Setup
179
179
180
-
### Migrating from the old `linuxserver/letsencrypt` image
181
-
* If using docker cli:
182
-
* Stop and remove existing container via `docker stop letsencrypt` and `docker rm letsencrypt`
183
-
* Create new container using the sample on this page (container name: `swag`, image name: `linuxserver/swag`)
184
-
* If using docker compose:
185
-
* Edit the compose yaml to change the image to `linuxserver/swag` and change the service and container names to `swag`
186
-
* Issue `docker-compose up -d --remove-orphans`
180
+
> ### Migrating from the old `linuxserver/letsencrypt` image
181
+
> * If using docker cli:
182
+
> * Stop and remove existing container via `docker stop letsencrypt` and `docker rm letsencrypt`
183
+
> * Create new container using the sample on this page (container name: `swag`, image name: `linuxserver/swag`)
184
+
> * If using docker compose:
185
+
> * Edit the compose yaml to change the image to `linuxserver/swag` and change the service and container names to `swag`
186
+
> * Issue `docker-compose up -d --remove-orphans`
187
+
188
+
> Make sure to also update any references to this container by name. For instance, Nextcloud's `config.php` references this container in its `trusted_proxies` directive, which would have to be updated to `swag`.
187
189
### Validation and initial setup
188
190
* Before running this container, make sure that the url and subdomains are properly forwarded to this container's host, and that port 443 (and/or 80) is not being used by another service on the host (NAS gui, another webserver, etc.).
189
191
* For `http` validation, port 80 on the internet side of the router should be forwarded to this container's port 80
Copy file name to clipboardExpand all lines: readme-vars.yml
+9-7
Original file line number
Diff line number
Diff line change
@@ -76,13 +76,15 @@ optional_block_1_items: ""
76
76
# application setup block
77
77
app_setup_block_enabled: true
78
78
app_setup_block: |
79
-
### Migrating from the old `linuxserver/letsencrypt` image
80
-
* If using docker cli:
81
-
* Stop and remove existing container via `docker stop letsencrypt` and `docker rm letsencrypt`
82
-
* Create new container using the sample on this page (container name: `swag`, image name: `linuxserver/swag`)
83
-
* If using docker compose:
84
-
* Edit the compose yaml to change the image to `linuxserver/swag` and change the service and container names to `swag`
85
-
* Issue `docker-compose up -d --remove-orphans`
79
+
> ### Migrating from the old `linuxserver/letsencrypt` image
80
+
> * If using docker cli:
81
+
> * Stop and remove existing container via `docker stop letsencrypt` and `docker rm letsencrypt`
82
+
> * Create new container using the sample on this page (container name: `swag`, image name: `linuxserver/swag`)
83
+
> * If using docker compose:
84
+
> * Edit the compose yaml to change the image to `linuxserver/swag` and change the service and container names to `swag`
85
+
> * Issue `docker-compose up -d --remove-orphans`
86
+
87
+
> Make sure to also update any references to this container by name. For instance, Nextcloud's `config.php` references this container in its `trusted_proxies` directive, which would have to be updated to `swag`.
86
88
### Validation and initial setup
87
89
* Before running this container, make sure that the url and subdomains are properly forwarded to this container's host, and that port 443 (and/or 80) is not being used by another service on the host (NAS gui, another webserver, etc.).
88
90
* For `http` validation, port 80 on the internet side of the router should be forwarded to this container's port 80
0 commit comments