If you use the links: element in the nextcloud service, the services listed there will be available using their hostnames. On the Nextcloud setup screen, choose mysql as the database engine, use db as the database host, and enter matching values into the other fields.
My compose.yaml inside...
If you use the
links:
element in thenextcloud
service, the services listed there will be available using their hostnames. On the Nextcloud setup screen, choose mysql as the database engine, usedb
as the database host, and enter matching values into the other fields.Thanks for sharing!