docs: document default portainer stack boundary
This commit is contained in:
@@ -10,6 +10,20 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
class PortainerComposeResourceLimitsTest {
|
||||
|
||||
@Test
|
||||
void portainerStackDocumentsDefaultProductionSurfaceOnly() throws IOException {
|
||||
String compose = Files.readString(repositoryRoot().resolve("deploy/portainer/docker-compose.yml"));
|
||||
|
||||
assertThat(compose)
|
||||
.contains("Default production stack: GB32960, JT808, Yutong MQTT, history, analytics.")
|
||||
.contains("Legacy and optional services stay outside this compose file.")
|
||||
.doesNotContain("\n xinda-push-app:\n")
|
||||
.doesNotContain("\n command-gateway:\n")
|
||||
.doesNotContain("\n vehicle-state-service:\n")
|
||||
.doesNotContain("\n raw-archive-store:\n")
|
||||
.doesNotContain("\n event-file-store:\n");
|
||||
}
|
||||
|
||||
@Test
|
||||
void productionServicesHaveOverridableMemoryLimits() throws IOException {
|
||||
String compose = Files.readString(repositoryRoot().resolve("deploy/portainer/docker-compose.yml"));
|
||||
|
||||
Reference in New Issue
Block a user