diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 72a5ee2665..719b3833ae 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -145,6 +145,10 @@ Each container in Appwrite is a microservice on its own. Each service is an inde Currently, all of the Appwrite microservices are intended to communicate using the TCP protocol over a private network. You should be aware to not expose any of the services to the public-facing network, besides the public port 80 and 443, who, by default, are used to expose the Appwrite HTTP API. +## Ports + +Appwrite dev version uses ports 80 and 443 as an entry point to the Appwrite API and console. We also expose multiple ports in the range of 9500-9504 for debugging some of the Appwrite containers on dev mode. If you have any conflicts with the ports running on your system, you can easily replace them by editing Appwrite's docker-compose.yml file and executing `docker-compose up -d` command. + ## Technology Stack To start helping us to improve the Appwrite server by submitting code, prior knowledge of Appwrite's technology stack can help you with getting started. diff --git a/docker-compose.yml b/docker-compose.yml index a6bf759f56..3f3967b203 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -311,7 +311,7 @@ services: volumes: - appwrite-mariadb:/var/lib/mysql:rw ports: - - "3306:3306" + - "9502:3306" environment: - MYSQL_ROOT_PASSWORD=password - MYSQL_DATABASE=${_APP_DB_SCHEMA} @@ -371,7 +371,7 @@ services: container_name: appwrite-maildev restart: unless-stopped ports: - - '1080:80' + - '9503:80' networks: - appwrite @@ -380,7 +380,7 @@ services: container_name: appwrite-request-catcher restart: unless-stopped ports: - - '5000:5000' + - '9504:5000' networks: - appwrite