From 8ddeee5d3d19cf1b1af8491469d32bcbfca2b4f4 Mon Sep 17 00:00:00 2001 From: aptalca Date: Fri, 21 Aug 2020 10:32:00 -0400 Subject: [PATCH] update migration info --- .github/workflows/greetings.yml | 2 +- README.md | 16 +++++++++------- readme-vars.yml | 16 +++++++++------- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 5756b3f..83b3432 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -1,6 +1,6 @@ name: Greetings -on: [pull_request, issues] +on: [pull_request_target, issues] jobs: greeting: diff --git a/README.md b/README.md index 150af70..44e16a7 100644 --- a/README.md +++ b/README.md @@ -177,13 +177,15 @@ In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as bel   ## Application Setup -### Migrating from the old `linuxserver/letsencrypt` image -* If using docker cli: - * Stop and remove existing container via `docker stop letsencrypt` and `docker rm letsencrypt` - * Create new container using the sample on this page (container name: `swag`, image name: `linuxserver/swag`) -* If using docker compose: - * Edit the compose yaml to change the image to `linuxserver/swag` and change the service and container names to `swag` - * Issue `docker-compose up -d --remove-orphans` +> ### Migrating from the old `linuxserver/letsencrypt` image +> * If using docker cli: +> * Stop and remove existing container via `docker stop letsencrypt` and `docker rm letsencrypt` +> * Create new container using the sample on this page (container name: `swag`, image name: `linuxserver/swag`) +> * If using docker compose: +> * Edit the compose yaml to change the image to `linuxserver/swag` and change the service and container names to `swag` +> * Issue `docker-compose up -d --remove-orphans` + +> 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`. ### Validation and initial setup * 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.). * For `http` validation, port 80 on the internet side of the router should be forwarded to this container's port 80 diff --git a/readme-vars.yml b/readme-vars.yml index 38b48ec..f2d8506 100755 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -76,13 +76,15 @@ optional_block_1_items: "" # application setup block app_setup_block_enabled: true app_setup_block: | - ### Migrating from the old `linuxserver/letsencrypt` image - * If using docker cli: - * Stop and remove existing container via `docker stop letsencrypt` and `docker rm letsencrypt` - * Create new container using the sample on this page (container name: `swag`, image name: `linuxserver/swag`) - * If using docker compose: - * Edit the compose yaml to change the image to `linuxserver/swag` and change the service and container names to `swag` - * Issue `docker-compose up -d --remove-orphans` + > ### Migrating from the old `linuxserver/letsencrypt` image + > * If using docker cli: + > * Stop and remove existing container via `docker stop letsencrypt` and `docker rm letsencrypt` + > * Create new container using the sample on this page (container name: `swag`, image name: `linuxserver/swag`) + > * If using docker compose: + > * Edit the compose yaml to change the image to `linuxserver/swag` and change the service and container names to `swag` + > * Issue `docker-compose up -d --remove-orphans` + + > 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`. ### Validation and initial setup * 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.). * For `http` validation, port 80 on the internet side of the router should be forwarded to this container's port 80