GoogleCloudPlatform / GoogleCloudPlatform/appengine-plugins

static ports on devserver for multiple modules

Open
#989 4 comments 0 reactions 0 assignees View on GitHub
priority: p4
Dominant language
Java
Stars
47
Forks
27
PR merge metrics
No merged PRs in 30d

Description

I think I already know the answer based on GoogleCloudPlatform/app-maven-plugin#330 and GoogleCloudPlatform/app-maven-plugin#435 but I want to know if anyone has a workaround for this. I've just migrated to the new tooling (was painful, documentation is not good) and I have this problem.

We use an nginx reverse proxy configuration to replace what the dispatch configuration does in production. It used to work great but now all the modules except the default run on random ports.

~In addition, setting devserver.host to 0.0.0.0 doesn't seem to make the server listen on all the interfaces.~
Setting devserver.host only works if you put it in the parent POM, defining it in services is ignored

Hoping someone has a workaround for this, as it feels like a big step backwards.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.