title may be a bit confusing but basically if my project is a website and I have a mysql service set up. how can I run the project/website being cloned in the pipeline say under http://localhost. i need to be able to say curl http://localhost in a step in the pipeline. im trying to setup some e2e tests.
Hi @Xavi
The pattern you describe should work fine.
Your pipeline runs inside the container you specify. Once started your webserver should respond to its configured port on localhost without any additional setup.
The MySQL is another piece, and should run in a service container, that would be available on 127.0.0.1:3306
https://support.atlassian.com/bitbucket-cloud/docs/databases-and-service-containers/#MySQL-%E2%80%93-test-user
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.