Comments (4)
Hey @mostafahussein, so I took your advice and moved all our docker-compose files to use volumes instead of mounts. This seems to really help solve some of the problems we faced related to read and write permissions errors in the DB or storage services.
Thanks!!
from appwrite.
Glad to hear that!
from appwrite.
These are the volumes we need for development only mode. Up until our latest version, we only mapped the ./storage directory, but that caused some permission issues for some developers (storage also contains DB directories).
The production public docker-compose is here: https://appwrite.io/docker-compose.yml
This is the docker-compose.yml we give non-maintainers to setup.
Named volumes sound like a good idea, but I am not familiar with them. What are their advantages compared to plain volumes?
from appwrite.
Named volumes are completely managed by Docker, not by your side. But as you use it for developers I would suggest having the following structure:
1- docker-compose.yml
2- docker-compose.development.yml
2- docker-compose.public.yml
And we you run it you would need to use the following command:
# In case of development usage
docker-compose up -d -f docker-compose.yml -f docker-compose.development.yml
Next, we can have both the path based volumes inside the development file and the needed named volumes inside the public file because the public/development file will override the already existing keys. so for example, if you have an environment called X=hello
inside docker-compose.yml
you can override it by defining it inside one of these additional files.
from appwrite.
Related Issues (20)
- 🚀 Enhancement: Vipps MobilePay oauth provider HOT 1
- 🐛 Bug Report: Double typo in credit card enum HOT 1
- 🐛 Bug Report: Queries doesn't work on non-ascii characters HOT 1
- 🐛 Bug Report: Domains Not Unassigned on Function Delete
- 🐛 Bug Report: Can't add a relationship to the existing document from Cloud Console HOT 3
- 🐛 Bug Report: CLI config for integer fields uses invalid default min and max values HOT 2
- 🐛 Bug Report: Why do I still encounter CORS issues when requesting functions despite adding a Web Platform and setting the host name? HOT 1
- 🚀 Enhancement: Client: set permission scope
- 🚀 Enhancement: Add support for push notification channels (Android/FCM) HOT 1
- 🐛 Bug Report: Missing scope throws Uncaught AppwriteException: Invalid redirect
- 🚀 Enhancement: Accepts Hashed Passwords in Login/Signup endpoints HOT 2
- 🐛 Bug Report: Stats shows only last 25days, end of every day, it hides 26th day. HOT 4
- 📚 Documentation: What's the realtime websocket URL? HOT 1
- AppwriteException: Database not found HOT 4
- 🐛 Bug Report: Recreate Same Name Relationship Attribute Only Self-Hosted HOT 5
- 🐛 Bug Report: No logs for failed index
- 📚 Documentation: createToken says it will create a user if they do not exist
- 🐛 Bug Report: SMS Sending via TextMagic stuck at "processing" status HOT 1
- 🐛 Bug Report: Receiving a general error for correct inputs using an email that account was previously deleted for HOT 1
- 🚀 Enhancement: Support Vonage Messages API for Messaging HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appwrite.