-
👟 Reproduction stepsWhen trying to follow the "Manual Installation" steps with podman-compose, the database is not correctly configured, and the environment variables are empty. In this case, I am attempting to use rootless podman-compose on a RHEL9 system, which is the preferred way to run containers in this environment. I realize this is not within the current scope of the project, but if you could provide some assistance, I am prepared to do the heavy lifting to make this work. I have run the installer to generate my initial docker-compose.yml, and .env files. I then modified them to make them work in a podman environment, by replacing image: locations to use docker.io (since this isn't the default podman registry). I updated the docker.sock location to /run/user//podman/podman.sock, and applied security_opt: label=disable to allow shared access. All of the containers run, but visiting the site through a web browser returns: 👍 Expected behaviorIt should configure the database, and start the pod. 👎 Actual BehaviorThe database is rejecting connections: Running: Logging into the mysql container reveals that the database has been created, and the user has been created, but no privileges have been granted to the 'user'. Therefore, nothing can connect to the database. 🎲 Appwrite versionVersion 1.4.x 💻 Operating systemLinux 🧱 Your EnvironmentAppwrite 1.4.13. 👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Okay. I've tracked this down to a difference with how podman-compose works. Ref: containers/podman-compose#491 I have managed to get appwrite up and running in rootless mode with the attached podman-compose.yml file. To make this work, you also have to enable the podman socket |
Beta Was this translation helpful? Give feedback.
Okay. I've tracked this down to a difference with how podman-compose works. Ref: containers/podman-compose#491
I have managed to get appwrite up and running in rootless mode with the attached podman-compose.yml file.
To make this work, you also have to enable the podman socket
systemctl --user enable podman.sock
.