Skip to content

Commit 5080db6

Browse files
authored
Merge pull request #3 from linuxserver/migrate
update migration info
2 parents dae80a9 + 8ddeee5 commit 5080db6

File tree

3 files changed

+19
-15
lines changed

3 files changed

+19
-15
lines changed

.github/workflows/greetings.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Greetings
22

3-
on: [pull_request, issues]
3+
on: [pull_request_target, issues]
44

55
jobs:
66
greeting:

README.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,15 @@ In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as bel
177177
 
178178
## Application Setup
179179

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`.
187189
### Validation and initial setup
188190
* 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.).
189191
* For `http` validation, port 80 on the internet side of the router should be forwarded to this container's port 80

readme-vars.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,15 @@ optional_block_1_items: ""
7676
# application setup block
7777
app_setup_block_enabled: true
7878
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`.
8688
### Validation and initial setup
8789
* 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.).
8890
* For `http` validation, port 80 on the internet side of the router should be forwarded to this container's port 80

0 commit comments

Comments
 (0)