Rank 4: Virtual Machine
Possible yes. Try to localte docker-compose created by docker run
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 4: Virtual Machine
Possible yes. Try to localte docker-compose created by docker run
Rank 4: Virtual Machine
Or directly use docker compose
Rank 2: Process
Okay, so if I'll use docker compose I should pull the project locally right?
Rank 4: Virtual Machine
Save this file on docker-compose.yml : https://appwrite.io/install/compose
Rank 4: Virtual Machine
On same folder, create .env file with : https://appwrite.io/install/env
Rank 4: Virtual Machine
Remove existing docker config
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docker image prune -f
docker system prune -a
Rank 4: Virtual Machine
Modify this on docker-compose.yml
Rank 4: Virtual Machine
And run docker compose up
Rank 2: Process
Awesome! I'll do that
Rank 4: Virtual Machine
On .env, you need to adapt it (domain for ex)
Rank 2: Process
Hi, Just another question.
I want to access a database and show all the collections available and someone suggested that using custom function, so I tried to read the docs but I cant figure it out on my own ^_^
Rank 2: Process
Is there better example I can follow 🙂
Rank 4: Virtual Machine
As it's a new suject, better to create a new post. Just inc ase : https://appwrite.io/docs/server/databases?sdk=nodejs-default#databasesListCollections
Rank 2: Process
Thanks! its on server tabs
Rank 2: Process
I think this will, just need to find a way to securely implement it together with the UI
Rank 4: Virtual Machine
You can't list collection as client
Rank 4: Virtual Machine
This is why you need to create function
Rank 4: Virtual Machine
And with function you can manage permission, and call listCollections with api key
Rank 2: Process
Yes, but the application Im trying to create is a client app with user specific roles
Rank 4: Virtual Machine
Try to implement "roles" as teams
Rank 4: Virtual Machine
If you achieve connection via DB tool, don't forgot to add [SOLVED] at begin of your post title
Rank 2: Process
Sure, im currently exploring all possibilities on appwrite
Rank 2: Process
Yes, I can set this as solve for now because I found out that there's no way I can expose DB port that runs on pre-built docker image but instead manually docker-compose will do
Rank 2: Process
[SOLVED]DB development Tool connect to MariaDB Docker
Rank 2: Process
[SOLVED] DB development Tool connect to MariaDB Docker