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)
- π Bug Report: Function throws MySQL server has gone away HOT 5
- πAppwrite URL ERROR: TypeError: Cannot read properties of undefined (reading 'replace') HOT 3
- π Bug Report: Unable to close the details page after open HOT 1
- π Bug Report: Events Settings in functions get lost after new deployment of the function HOT 1
- π Bug Report: Membership Deletion Queue Holds Account Deletion HOT 1
- π Bug Report: HOT 2
- π Bug Report: Queries are not working HOT 8
- π Bug Report: Migrating 1.4.14 to 1.5.4 throw errors in logs HOT 3
- π Bug Report: `Avatars.getImage` Doesn't Work On Cloud
- π Bug Report: Adding Invalid Domain to Function Doesn't Throw an Error HOT 2
- Can someone help me to solve my error HOT 1
- π Enhancement: Chunk size change in .env
- π Bug Report: Appwrite console "Client Closed Request" when Create new Project HOT 2
- π Appwrite Storage: Misleading Error Message During Role Permission Update HOT 1
- π Documentation: JWT doesn't work HOT 1
- π Bug Report: Migration failure 1.4.14 to 1.5.4 HOT 6
- π Bug Report: SSL Certificate Failure Emails Are Broken
- π Bug Report: Certificate Worker Uses Old Domain
- Not able to add multiple items in array list in a document. HOT 1
- π Bug Report: Unable to create document in database using post query HOT 2
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.