#Change traefik port

12 messages · Page 1 of 1 (latest)

wooden hornet
#

Hi, I currently have Appwrite running on the default port 443. However, now I want to expose NPM on port 443, which will forward traffic to the Appwrite Traefik.
Is it okay to change the port in the Appwrite docker-compose file from port 443 to another port, or will the upgrade script change the Traefik port back to 443? Or do I need to reinstall Appwrite entirely and define the port on which I want to have Appwrite currently during the installation?

ocean briar
wooden hornet
#

Uh, i looked and tried to find it in .env, but haven't find any variable which defines port 443

distant plume
#

check docker-compose.yml

stable lance
wooden hornet
wooden hornet
distant plume
#

Upgrade doesn't change your ports though. Infact, any upgrade using docker pull will override your misc. tweaks in appwrite if I am not wrong.

wooden hornet
# distant plume Upgrade doesn't change your ports though. Infact, any upgrade using docker pull ...

So i can change this piece of configuration:

services:
  traefik:
    some_configuration
    command:
      some_configuration
      - --entrypoints.appwrite_web.address=:80
      - --entrypoints.appwrite_websecure.address=:443
    ports:
      - 80:80
      - 443:443

To this configuration?

services:
  traefik:
    some_configuration
    command:
      some_configuration
      - --entrypoints.appwrite_web.address=:80
      - --entrypoints.appwrite_websecure.address=:443
    ports:
      - 8080:80
      - 8443:443
distant plume
#

that should work.
if there's nginx involved, there might be additional steps for forwarding. Its been a while since I've touched any nginx conf. so the memory is hazzy.

wooden hornet
dense hinge