Back

Self-hosted configuration

  • 0
  • Databases
  • Tools
PingGhost
28 Sep, 2023, 17:40

I'm trying to setup Appwrite in a server, first issue is that I wasn't able to download the docker-compose and the .env from the links provided in the doc. but I found my way around and used them from the CLI.

  1. Is it safe to use a standalone MariaDB (instead of the dockerized one) after removing the service from docker-compose as well as the dependency from other services?
  2. Is it safe to change the HTTPS port "443"?
  3. Is it safe to change the default web port "80"?
TL;DR
1. Yes, it is safe to use a standalone MariaDB instead of the dockerized one after removing the service and its dependency from the docker-compose file. 2. Yes, it is safe to change the HTTPS port to a different number as long as the connection is SSL secured. 3. Yes, it is safe to change the default web port to a different number. It is recommended to force SSL by setting "_APP_OPTIONS_FORCE_HTTPS" to "enabled" in the .env file.
Binyamin
28 Sep, 2023, 17:50

Hey,

for your questions

Is standalone MariaDB safe? Sure! just make sure it's up and running before you're starting the docker compose. and the values in the .env file are a match to your local one.

Is it safe to change the HTTPS port "443"? Totally! as long as your connection is with SSL you'll get the same level of data-protection.

Is it safe to change the default web port "80"? Yes, although it's recommend to force SSL by setting the `_APP_OPTIONS_FORCE_HTTPS` to enabled

The reason to use 443/80 is for the convince of not needing to write ports and letting the browser handle it for you.

Binyamin
28 Sep, 2023, 17:50

Also for self-hosting I also recommending taking a look at this

Binyamin
28 Sep, 2023, 17:55

And yes, it looks like the manual is missing the links to the .env and docker-compose.yml files.

Drake
28 Sep, 2023, 17:59

I highly recommend having your Appwrite instance exposed on the standard ports. Some things might not work properly like certificates or oauth redirects if not on standard ports.

Osman
29 Sep, 2023, 08:00

Im running self-hosted and had troubles with **not ** exposing appwrite on 443 and 80 respectively.

Drake
29 Sep, 2023, 23:44

if you need help, please create a new <#1072905050399191082> post rather than posting on an old thread

Osman
30 Sep, 2023, 06:14

I dont, it was just a supplying comment.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more