[liuxia] Change container configuration logic for unit test and application.