Hi, how to set a fixed subnet for docker networks used by appwrite? I'm asking so I can set that subnet allowed on my firewall
This would be some docker compose setting. Maybe this will help: https://stackoverflow.com/questions/46845381/how-do-configure-docker-compose-to-use-a-given-subnet-if-a-variable-is-set-or-c
Something really important, though, is I highly suggest leaving the docker-compose.yml file created by Appwrite unchanged and put any customizations you need in a docker-compose.override.yml file so that upgrades can wipe the docker-compose.yml file and your customizations would be fine
Hi Steven, thanks for your answer. I'll think about the best solution to both avoid issues with the firewall due to network changes and appwrite updates π€
I created a docker-compose.override.yml like you suggested, with this content, so if somebody has the same issue:
networks: appwrite: name: appwrite ipam: config: - subnet: 172.21.46.0/24 gateway: name: gateway ipam: config: - subnet: 172.21.47.0/24
Then launched using -f docker-compose.override.yml and seems to work fine, thanks
btw, docker compose up -d should use Burger the regular and override compose files automatically
[SOLVED] Fixing network subnet
Recommended threads
- redirect_uri errors on flutter client
Hi all, I'm using the flutter client for my app to do appwrite auth and use the JWTs to send to my backend. When I try to sign in with SSO, I get this: https:/...
- float
Hello everyone, So, I created a column of type **float** with the **min** and **required** options, I noticed that it wouldn't let me set a **2 decimal points ...
- Unauthorized Charge on My Card β I Donβt...
Hi, I need urgent help. I received a bank SMS about a charge from "APPWRITE PRO" (18.460 JOD on 10/12/2025 at 03:47), but I DO NOT have an Appwrite account and...