Skip to content

Conversation

JonahGoldsmith
Copy link

I updated the appwrite.yml file for my own use-case and it works perfect. Thought maybe the community would like it

Copy link
Collaborator

@githubsaturn githubsaturn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Just a couple of questions to make sure things are not accidentally removed.

This is perhaps the most complex app that we have on the official repo at this point. Almost 1300 lines of yaml... impressive!

environment:
_APP_INFLUXDB_HOST: srv-captain--$$cap_appname-influxdb
_APP_INFLUXDB_PORT: $$cap_APP_INFLUXDB_PORT
MYSQL_ROOT_PASSWORD: $$cap_APP_DB_ROOT_PASS
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the MariaDB prefixes changed to MySQL? Official docs seem to suggest MYSQL_ROOT_PASSWORD etc are valid.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

InfluxDB was removed in appwrite 1.7 official docker compose file, I dont completely understand what is was converted into, but it seems that they wrote their own internal tools to replace it and telegraf.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The MYSQL_ROOT_PASSWORD is for MariaDB and is mapping to the environment variable from appwrite APP_DB_ROOT_PASS. Currently appwrite only supports MariaDB and in their official self-hosted docker_compose file it uses MYSQL_ROOT_PASSWORD for it.

volumes:
- $$cap_appname-influxdb:/var/lib/influxdb

$$cap_appname-telegraf:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is telegraf no longer needed? Same with Influxdb?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Telegraf was removed in appwrite 1.7 official docker compose file, I dont completely understand what is was converted into, but it seems that they wrote their own internal tools to replace it and influxDB.

@githubsaturn
Copy link
Collaborator

Thanks for the response. One last thing, build is failing complaining that your yaml is invalid. I've cross checked with a 3rd party tool and it seems to be actually invalid:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants